Handle this in isEntityNameVisible (#49521)

This commit is contained in:
Wesley Wigham
2022-06-15 10:15:19 -07:00
committed by GitHub
parent 89d05f7131
commit eb4b8a4d2e
5 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
// @declaration: true
// @strict: true
class Foo {
public foo!: string
public bar!: typeof this.foo //Public property 'bar' of exported class has or is using private name 'this'.(4031)
}