Skip to content

@typescript-eslint/no-use-before-define #2941

Closed
@GuoSirius

Description

@GuoSirius
class A {
  constructor (printName) {
    this.printName = printName
  }

  openPort(printerName = this.printerName) {
    this.tscOcx.ActiveXopenport(printerName)

    return this
  }
}

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-plugin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions