File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 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 {
600600 sb . push ( " type i8 = number;\n" ) ;
601601 sb . push ( " type i16 = number;\n" ) ;
602602 sb . push ( " type i32 = number;\n" ) ;
603- sb . push ( " type i64 = BigInt ;\n" ) ;
603+ sb . push ( " type i64 = bigint ;\n" ) ;
604604 if ( isWasm64 ) {
605- sb . push ( " type isize = BigInt ;\n" ) ;
605+ sb . push ( " type isize = bigint ;\n" ) ;
606606 } else {
607607 sb . push ( " type isize = number;\n" ) ;
608608 }
609609 sb . push ( " type u8 = number;\n" ) ;
610610 sb . push ( " type u16 = number;\n" ) ;
611611 sb . push ( " type u32 = number;\n" ) ;
612- sb . push ( " type u64 = BigInt ;\n" ) ;
612+ sb . push ( " type u64 = bigint ;\n" ) ;
613613 if ( isWasm64 ) {
614- sb . push ( " type usize = BigInt ;\n" ) ;
614+ sb . push ( " type usize = bigint ;\n" ) ;
615615 } else {
616616 sb . push ( " type usize = number;\n" ) ;
617617 }
618618 sb . push ( " type f32 = number;\n" ) ;
619619 sb . push ( " type f64 = number;\n" ) ;
620- sb . push ( " type bool = any ;\n" ) ;
620+ sb . push ( " type bool = boolean | number ;\n" ) ;
621621 ++ this . indentLevel ;
622622 this . walk ( ) ;
623623 -- this . indentLevel ;
You can’t perform that action at this time.
0 commit comments