7 lines
148 B
TypeScript
7 lines
148 B
TypeScript
|
//// [parserIndexSignature4.ts]
|
||
|
interface I {
|
||
|
[a = 0] // Used to be indexer, now it is a computed property
|
||
|
}
|
||
|
|
||
|
//// [parserIndexSignature4.js]
|