diff --git a/src/functions/utils.ts b/src/functions/utils.ts index 97368addf..1ae5fcf0f 100644 --- a/src/functions/utils.ts +++ b/src/functions/utils.ts @@ -187,7 +187,7 @@ export function flatten (a: (T | T[])[]) : T[] { //https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm const intrinsicTypeNames = - "Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey" + "BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey" .split(',').concat( flatten([8,16,32,64].map(num=>["Int","Uint","Float"].map(t=>t+num+"Array"))) ).filter(t=>_global[t]);