Skip to content

Commit 8322b2b

Browse files
committed
fix genType test
1 parent d5c4d79 commit 8322b2b

File tree

5 files changed

+2
-15
lines changed

5 files changed

+2
-15
lines changed

jscomp/gentype_tests/typescript-react-example/src/BigInt.res

Lines changed: 0 additions & 1 deletion
This file was deleted.

jscomp/gentype_tests/typescript-react-example/src/BigInt.res.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

jscomp/gentype_tests/typescript-react-example/src/Core.gen.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export const date0: (x:Date) => Date = CoreJS.date0 as any;
5151

5252
export const date1: (x:Date) => Date = CoreJS.date1 as any;
5353

54-
export const bigint0: (x:BigInt) => BigInt = CoreJS.bigint0 as any;
55-
56-
export const bigint1: (x:BigInt) => BigInt = CoreJS.bigint1 as any;
54+
export const bigint0: (x:bigint) => bigint = CoreJS.bigint0 as any;
5755

5856
export const regexp0: (x:RegExp) => RegExp = CoreJS.regexp0 as any;
5957

jscomp/gentype_tests/typescript-react-example/src/Core.res

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ let date0 = (x: Js.Date.t) => x
3535
let date1 = (x: Date.t) => x
3636

3737
@genType
38-
let bigint0 = (x: Js.Types.bigint_val) => x
39-
40-
@genType
41-
let bigint1 = (x: BigInt.t) => x
38+
let bigint0 = (x: bigint) => x
4239

4340
@genType
4441
let regexp0 = (x: Js.Re.t) => x

jscomp/gentype_tests/typescript-react-example/src/Core.res.js

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)