TypeScript/tests/baselines/reference/staticIndexSignatureAndNormalIndexSignature.symbols
Wesley Wigham 2203228b62
Ensure static index signatures have an errorNode available (#44129)
* Ensure static index signatures have an errorNode available

* Lookup static index signature declarations in the right symbol table, stop checking prototype props
2021-05-24 14:30:59 -07:00

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))
}