// @target: esnext // @lib: dom,es2017 declare function test(): void; test<{t?: string}, object>(); test<{t?: string}, bigint>(); // should have global error when bigint is used but ES2020 lib is not present