| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,19 +16,6 @@ import {URLBinding} from "./internalBinding/url"; | |||
| 16 | 16 | import {UtilBinding} from "./internalBinding/util"; | |
| 17 | 17 | import {WorkerBinding} from "./internalBinding/worker"; | |
| 18 | 18 | ||
| 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 | - | ||
| 32 | 19 | interface InternalBindingMap { | |
| 33 | 20 | async_wrap: AsyncWrapBinding; | |
| 34 | 21 | blob: BlobBinding; | |
@@ -54,6 +41,19 @@ type InternalBindingKeys = keyof InternalBindingMap; | |||
| 54 | 41 | declare function internalBinding<T extends InternalBindingKeys>(binding: T): InternalBindingMap[T] | |
| 55 | 42 | ||
| 56 | 43 | declare 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 | + | ||
| 57 | 57 | namespace NodeJS { | |
| 58 | 58 | interface Global { | |
| 59 | 59 | internalBinding<T extends InternalBindingKeys>(binding: T): InternalBindingMap[T] | |
| Back | FazBrowse Home | New Git URL |
0 commit comments