File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,6 @@ import {URLBinding} from "./internalBinding/url";
1616import { UtilBinding } from "./internalBinding/util" ;
1717import { WorkerBinding } from "./internalBinding/worker" ;
1818
19- declare type TypedArray =
20- | Uint8Array
21- | Uint8ClampedArray
22- | Uint16Array
23- | Uint32Array
24- | Int8Array
25- | Int16Array
26- | Int32Array
27- | Float32Array
28- | Float64Array
29- | BigUint64Array
30- | BigInt64Array ;
31-
3219interface InternalBindingMap {
3320 async_wrap : AsyncWrapBinding ;
3421 blob : BlobBinding ;
@@ -54,6 +41,19 @@ type InternalBindingKeys = keyof InternalBindingMap;
5441declare function internalBinding < T extends InternalBindingKeys > ( binding : T ) : InternalBindingMap [ T ]
5542
5643declare global {
44+ type TypedArray =
45+ | Uint8Array
46+ | Uint8ClampedArray
47+ | Uint16Array
48+ | Uint32Array
49+ | Int8Array
50+ | Int16Array
51+ | Int32Array
52+ | Float32Array
53+ | Float64Array
54+ | BigUint64Array
55+ | BigInt64Array ;
56+
5757 namespace NodeJS {
5858 interface Global {
5959 internalBinding < T extends InternalBindingKeys > ( binding : T ) : InternalBindingMap [ T ]
You can’t perform that action at this time.
0 commit comments