File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -600,24 +600,24 @@ export class TSDBuilder extends ExportsWalker {
600
600
sb . push ( " type i8 = number;\n" ) ;
601
601
sb . push ( " type i16 = number;\n" ) ;
602
602
sb . push ( " type i32 = number;\n" ) ;
603
- sb . push ( " type i64 = BigInt ;\n" ) ;
603
+ sb . push ( " type i64 = bigint ;\n" ) ;
604
604
if ( isWasm64 ) {
605
- sb . push ( " type isize = BigInt ;\n" ) ;
605
+ sb . push ( " type isize = bigint ;\n" ) ;
606
606
} else {
607
607
sb . push ( " type isize = number;\n" ) ;
608
608
}
609
609
sb . push ( " type u8 = number;\n" ) ;
610
610
sb . push ( " type u16 = number;\n" ) ;
611
611
sb . push ( " type u32 = number;\n" ) ;
612
- sb . push ( " type u64 = BigInt ;\n" ) ;
612
+ sb . push ( " type u64 = bigint ;\n" ) ;
613
613
if ( isWasm64 ) {
614
- sb . push ( " type usize = BigInt ;\n" ) ;
614
+ sb . push ( " type usize = bigint ;\n" ) ;
615
615
} else {
616
616
sb . push ( " type usize = number;\n" ) ;
617
617
}
618
618
sb . push ( " type f32 = number;\n" ) ;
619
619
sb . push ( " type f64 = number;\n" ) ;
620
- sb . push ( " type bool = any ;\n" ) ;
620
+ sb . push ( " type bool = boolean | number ;\n" ) ;
621
621
++ this . indentLevel ;
622
622
this . walk ( ) ;
623
623
-- this . indentLevel ;
You can’t perform that action at this time.
0 commit comments