9 lines
209 B
JavaScript
9 lines
209 B
JavaScript
//// [parserIndexSignature11.ts]
|
|
interface I {
|
|
[p]; // Used to be indexer, now it is a computed property
|
|
[p1: string];
|
|
[p2: string, p3: number];
|
|
}
|
|
|
|
//// [parserIndexSignature11.js]
|