We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 084d636 commit 68e3f7dCopy full SHA for 68e3f7d
base/base_header.ts
@@ -6,3 +6,4 @@
6
/// <reference types="node" />
7
8
type GlobalEvent = Event & { returnValue: any };
9
+type GlobalResponse = Response;
src/utils.ts
@@ -285,6 +285,7 @@ export const isBuiltIn = (type: string) => {
285
'float64array',
286
'bigint64array',
287
'biguint64array',
288
+ 'globalresponse',
289
];
290
return builtIns.indexOf(type.toLowerCase().replace(/\[\]/g, '')) !== -1;
291
};
0 commit comments