TypeScript - Symbols & BigInt
Symbols
const ID: unique symbol = Symbol('ID');
interface HasId { [ID]: string }
const item: HasId = { [ID]: 'abc' };
BigInt
const n: bigint = 10n ** 20n;
Use appropriate target
/lib
to support BigInt (ES2020+
).