File tree 1 file changed +13
-13
lines changed
1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,6 @@ import { WASIBinding } from './internalBinding/wasi';
19
19
import { WorkerBinding } from './internalBinding/worker' ;
20
20
import { ModulesBinding } from './internalBinding/modules' ;
21
21
22
- declare type TypedArray =
23
- | Uint8Array
24
- | Uint8ClampedArray
25
- | Uint16Array
26
- | Uint32Array
27
- | Int8Array
28
- | Int16Array
29
- | Int32Array
30
- | Float32Array
31
- | Float64Array
32
- | BigUint64Array
33
- | BigInt64Array ;
34
-
35
22
interface InternalBindingMap {
36
23
async_wrap : AsyncWrapBinding ;
37
24
blob : BlobBinding ;
@@ -60,6 +47,19 @@ type InternalBindingKeys = keyof InternalBindingMap;
60
47
declare function internalBinding < T extends InternalBindingKeys > ( binding : T ) : InternalBindingMap [ T ]
61
48
62
49
declare global {
50
+ type TypedArray =
51
+ | Uint8Array
52
+ | Uint8ClampedArray
53
+ | Uint16Array
54
+ | Uint32Array
55
+ | Int8Array
56
+ | Int16Array
57
+ | Int32Array
58
+ | Float32Array
59
+ | Float64Array
60
+ | BigUint64Array
61
+ | BigInt64Array ;
62
+
63
63
namespace NodeJS {
64
64
interface Global {
65
65
internalBinding < T extends InternalBindingKeys > ( binding : T ) : InternalBindingMap [ T ]
You can’t perform that action at this time.
0 commit comments