error TS2318: Cannot find global type 'BigInt'.


!!! error TS2318: Cannot find global type 'BigInt'.
==== tests/cases/conformance/es2020/bigintMissingES2020.ts (0 errors) ====
    declare function test<A, B extends A>(): void;
    
    test<{t?: string}, object>();
    test<{t?: string}, bigint>();
    
    // should have global error when bigint is used but ES2020 lib is not present
    