mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
12 lines
209 B
TypeScript
12 lines
209 B
TypeScript
interface Flags { [name: string]: boolean };
|
|
let flags: Flags;
|
|
flags.b;
|
|
flags.f;
|
|
flags.isNotNecessarilyNeverFalse;
|
|
flags['this is fine'];
|
|
|
|
interface Empty { }
|
|
let empty: Empty;
|
|
empty.nope;
|
|
empty["that's ok"];
|