//// [tests/cases/conformance/es2020/bigintMissingESNext.ts] ////

//// [bigintMissingESNext.ts]
declare function test<A, B extends A>(): void;

test<{t?: string}, object>();
test<{t?: string}, bigint>();

// no error when bigint is used even when ES2020 lib is not present


//// [bigintMissingESNext.js]
"use strict";
test();
test();
// no error when bigint is used even when ES2020 lib is not present
