Skip to content

Commit 57af1d2

Browse files
committed
Add missing types for parameters of BigIntConstructor (microsoft#57283)
1 parent 6f1ad5a commit 57af1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/es2020.bigint.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ interface BigInt {
103103
}
104104

105105
interface BigIntConstructor {
106-
(value: bigint | boolean | number | string): bigint;
106+
(value: bigint | BigInt | boolean | Boolean | number | Number | string | String): bigint;
107107
readonly prototype: BigInt;
108108

109109
/**

0 commit comments

Comments
 (0)