2203228b62
* Ensure static index signatures have an errorNode available * Lookup static index signature declarations in the right symbol table, stop checking prototype props
11 lines
386 B
Plaintext
11 lines
386 B
Plaintext
=== tests/cases/compiler/staticIndexSignatureAndNormalIndexSignature.ts ===
|
|
class Foo {
|
|
>Foo : Symbol(Foo, Decl(staticIndexSignatureAndNormalIndexSignature.ts, 0, 0))
|
|
|
|
[p: string]: any;
|
|
>p : Symbol(p, Decl(staticIndexSignatureAndNormalIndexSignature.ts, 1, 5))
|
|
|
|
static [p: string]: number;
|
|
>p : Symbol(p, Decl(staticIndexSignatureAndNormalIndexSignature.ts, 2, 12))
|
|
}
|