Files
ValueScript/inputs/passing/bigint/noMix.ts
2023-03-21 16:47:54 +11:00

6 lines
148 B
TypeScript

// test_output! E: TypeError{"message":"Cannot mix BigInt and other types"}
export default function () {
return 1 + (1n as unknown as number);
}