@@ -8,16 +8,16 @@ import {someFunWithNullThenOptionalArgs as someFunWithNullThenOptionalArgsNotChe
8
8
import { someFunWithNullUndefinedArg as someFunWithNullUndefinedArgNotChecked } from './CoreTS' ;
9
9
10
10
// In case of type error, check the type of 'someFunWithNullThenOptionalArgs' in 'Core.res' and './CoreTS'.
11
- export const someFunWithNullThenOptionalArgsTypeChecked : ( _1 :( null | string ) , _2 :( undefined | string ) ) => string = someFunWithNullThenOptionalArgsNotChecked ;
11
+ export const someFunWithNullThenOptionalArgsTypeChecked : ( _1 :( null | string ) , _2 :( undefined | string ) ) => string = someFunWithNullThenOptionalArgsNotChecked as any ;
12
12
13
13
// Export 'someFunWithNullThenOptionalArgs' early to allow circular import from the '.bs.js' file.
14
- export const someFunWithNullThenOptionalArgs : unknown = someFunWithNullThenOptionalArgsTypeChecked as ( _1 :( null | string ) , _2 :( undefined | string ) ) => string ;
14
+ export const someFunWithNullThenOptionalArgs : unknown = someFunWithNullThenOptionalArgsTypeChecked as ( _1 :( null | string ) , _2 :( undefined | string ) ) => string as any ;
15
15
16
16
// In case of type error, check the type of 'someFunWithNullUndefinedArg' in 'Core.res' and './CoreTS'.
17
- export const someFunWithNullUndefinedArgTypeChecked : ( _1 :( null | undefined | string ) , _2 :number ) => string = someFunWithNullUndefinedArgNotChecked ;
17
+ export const someFunWithNullUndefinedArgTypeChecked : ( _1 :( null | undefined | string ) , _2 :number ) => string = someFunWithNullUndefinedArgNotChecked as any ;
18
18
19
19
// Export 'someFunWithNullUndefinedArg' early to allow circular import from the '.bs.js' file.
20
- export const someFunWithNullUndefinedArg : unknown = someFunWithNullUndefinedArgTypeChecked as ( _1 :( null | undefined | string ) , _2 :number ) => string ;
20
+ export const someFunWithNullUndefinedArg : unknown = someFunWithNullUndefinedArgTypeChecked as ( _1 :( null | undefined | string ) , _2 :number ) => string as any ;
21
21
22
22
const CoreBS = require ( './Core.bs' ) ;
23
23
@@ -27,46 +27,46 @@ export type t1 = { readonly x?: string };
27
27
28
28
export type t2 = { readonly x : ( undefined | string ) } ;
29
29
30
- export const null0 : ( x :( null | number ) ) => ( null | number ) = CoreBS . null0 ;
30
+ export const null0 : ( x :( null | number ) ) => ( null | number ) = CoreBS . null0 as any ;
31
31
32
- export const null1 : ( x :( null | number ) ) => ( null | number ) = CoreBS . null1 ;
32
+ export const null1 : ( x :( null | number ) ) => ( null | number ) = CoreBS . null1 as any ;
33
33
34
- export const nullable0 : ( x :( null | undefined | number ) ) => ( null | undefined | number ) = CoreBS . nullable0 ;
34
+ export const nullable0 : ( x :( null | undefined | number ) ) => ( null | undefined | number ) = CoreBS . nullable0 as any ;
35
35
36
- export const nullable1 : ( x :( null | undefined | number ) ) => ( null | undefined | number ) = CoreBS . nullable1 ;
36
+ export const nullable1 : ( x :( null | undefined | number ) ) => ( null | undefined | number ) = CoreBS . nullable1 as any ;
37
37
38
- export const undefined0 : ( x :( undefined | number ) ) => ( undefined | number ) = CoreBS . undefined0 ;
38
+ export const undefined0 : ( x :( undefined | number ) ) => ( undefined | number ) = CoreBS . undefined0 as any ;
39
39
40
- export const undefined1 : ( x :( undefined | number ) ) => ( undefined | number ) = CoreBS . undefined1 ;
40
+ export const undefined1 : ( x :( undefined | number ) ) => ( undefined | number ) = CoreBS . undefined1 as any ;
41
41
42
- export const dict0 : ( x :{ [ id : string ] : string } ) => { [ id : string ] : string } = CoreBS . dict0 ;
42
+ export const dict0 : ( x :{ [ id : string ] : string } ) => { [ id : string ] : string } = CoreBS . dict0 as any ;
43
43
44
- export const dict1 : ( x :{ [ id : string ] : string } ) => { [ id : string ] : string } = CoreBS . dict1 ;
44
+ export const dict1 : ( x :{ [ id : string ] : string } ) => { [ id : string ] : string } = CoreBS . dict1 as any ;
45
45
46
- export const promise0 : ( x :Promise < string > ) => Promise < string > = CoreBS . promise0 ;
46
+ export const promise0 : ( x :Promise < string > ) => Promise < string > = CoreBS . promise0 as any ;
47
47
48
- export const promise1 : ( x :Promise < string > ) => Promise < string > = CoreBS . promise1 ;
48
+ export const promise1 : ( x :Promise < string > ) => Promise < string > = CoreBS . promise1 as any ;
49
49
50
- export const date0 : ( x :Date ) => Date = CoreBS . date0 ;
50
+ export const date0 : ( x :Date ) => Date = CoreBS . date0 as any ;
51
51
52
- export const date1 : ( x :Date ) => Date = CoreBS . date1 ;
52
+ export const date1 : ( x :Date ) => Date = CoreBS . date1 as any ;
53
53
54
- export const bigint0 : ( x :BigInt ) => BigInt = CoreBS . bigint0 ;
54
+ export const bigint0 : ( x :BigInt ) => BigInt = CoreBS . bigint0 as any ;
55
55
56
- export const bigint1 : ( x :BigInt ) => BigInt = CoreBS . bigint1 ;
56
+ export const bigint1 : ( x :BigInt ) => BigInt = CoreBS . bigint1 as any ;
57
57
58
- export const regexp0 : ( x :RegExp ) => RegExp = CoreBS . regexp0 ;
58
+ export const regexp0 : ( x :RegExp ) => RegExp = CoreBS . regexp0 as any ;
59
59
60
- export const regexp1 : ( x :RegExp ) => RegExp = CoreBS . regexp1 ;
60
+ export const regexp1 : ( x :RegExp ) => RegExp = CoreBS . regexp1 as any ;
61
61
62
- export const map1 : ( x :Map < string , number > ) => Map < string , number > = CoreBS . map1 ;
62
+ export const map1 : ( x :Map < string , number > ) => Map < string , number > = CoreBS . map1 as any ;
63
63
64
- export const weakmap1 : ( x :WeakMap < number [ ] , number > ) => WeakMap < number [ ] , number > = CoreBS . weakmap1 ;
64
+ export const weakmap1 : ( x :WeakMap < number [ ] , number > ) => WeakMap < number [ ] , number > = CoreBS . weakmap1 as any ;
65
65
66
- export const set1 : ( x :Set < string > ) => Set < string > = CoreBS . set1 ;
66
+ export const set1 : ( x :Set < string > ) => Set < string > = CoreBS . set1 as any ;
67
67
68
- export const weakset1 : ( x :WeakSet < number [ ] > ) => WeakSet < number [ ] > = CoreBS . weakset1 ;
68
+ export const weakset1 : ( x :WeakSet < number [ ] > ) => WeakSet < number [ ] > = CoreBS . weakset1 as any ;
69
69
70
- export const option0 : ( x :( undefined | string ) ) => ( undefined | string ) = CoreBS . option0 ;
70
+ export const option0 : ( x :( undefined | string ) ) => ( undefined | string ) = CoreBS . option0 as any ;
71
71
72
- export const option1 : ( x :( undefined | variant ) ) => ( undefined | variant ) = CoreBS . option1 ;
72
+ export const option1 : ( x :( undefined | variant ) ) => ( undefined | variant ) = CoreBS . option1 as any ;
0 commit comments