File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1088,13 +1088,13 @@ export class JSBuilder extends ExportsWalker {
10881088 sb . push ( "Uint16Array" ) ;
10891089 } else if ( valueType == Type . i16 ) {
10901090 sb . push ( "Int16Array" ) ;
1091- } else if ( valueType == Type . u32 ) {
1091+ } else if ( valueType == Type . u32 || valueType == Type . usize32 ) {
10921092 sb . push ( "Uint32Array" ) ;
1093- } else if ( valueType == Type . i32 ) {
1093+ } else if ( valueType == Type . i32 || valueType == Type . isize32 ) {
10941094 sb . push ( "Int32Array" ) ;
1095- } else if ( valueType == Type . u64 ) {
1095+ } else if ( valueType == Type . u64 || valueType == Type . usize64 ) {
10961096 sb . push ( "BigUint64Array" ) ;
1097- } else if ( valueType == Type . i64 ) {
1097+ } else if ( valueType == Type . i64 || valueType == Type . isize64 ) {
10981098 sb . push ( "BigInt64Array" ) ;
10991099 } else if ( valueType == Type . f32 ) {
11001100 sb . push ( "Float32Array" ) ;
You can’t perform that action at this time.
0 commit comments