Closed
Description
TypeScript Version: 3.8.0-dev.20200111
Search Terms: "BigInt"
Code
declare function test<A, B extends A>(): void;
test<{t?: string}, object>();
test<{t?: string}, bigint>();
test<{t?: string}, number>();
Expected behavior: bigint
should behave like number
.
Actual behavior: BigInt instead behaves like a object.
Related Issues:
Main BigInt Issue: #33871