This makes parsing of these constructs the same whether they are in an object literal or a class. This is important for incrementla parsing for knowing if we can reuse these nodes if we run into them.
3 lines
47 B
TypeScript
3 lines
47 B
TypeScript
interface I {
|
|
public [a: string]: number;
|
|
} |