Files
tsgo/testdata/tests/cases/compiler/emitDecoratorMetadataBigIntFallback.ts
433bc1e8d5 Add BigInt fallback for decorator metadata below ES2020 (#4106)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-06-02 20:16:20 +00:00

10 lines
173 B
TypeScript

// @target: es2015, es2020
// @experimentalDecorators: true
// @emitDecoratorMetadata: true
declare function dec(...args: any[]): any;
class C {
@dec prop!: bigint;
}