-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
typings: improve internal bindings typings
PR-URL: #40411 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
- Loading branch information
1 parent
eea061f
commit fbe0323
Showing
11 changed files
with
501 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
declare type TypedArray = Uint16Array | Uint32Array | Uint8Array | Uint8ClampedArray | Int16Array | Int32Array | Int8Array | BigInt64Array | Float32Array | Float64Array | BigUint64Array; | ||
declare type TypedArray = | ||
| Uint8Array | ||
| Uint8ClampedArray | ||
| Uint16Array | ||
| Uint32Array | ||
| Int8Array | ||
| Int16Array | ||
| Int32Array | ||
| Float32Array | ||
| Float64Array | ||
| BigUint64Array | ||
| BigInt64Array; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
declare function InternalBinding(binding: 'config'): { | ||
isDebugBuild: boolean, | ||
hasOpenSSL: boolean, | ||
fipsMode: boolean, | ||
hasIntl: boolean, | ||
hasTracing: boolean, | ||
hasNodeOptions: boolean, | ||
hasInspector: boolean, | ||
noBrowserGlobals: boolean, | ||
bits: number, | ||
hasDtrace: boolean | ||
} | ||
isDebugBuild: boolean; | ||
hasOpenSSL: boolean; | ||
fipsMode: boolean; | ||
hasIntl: boolean; | ||
hasTracing: boolean; | ||
hasNodeOptions: boolean; | ||
hasInspector: boolean; | ||
noBrowserGlobals: boolean; | ||
bits: number; | ||
hasDtrace: boolean; | ||
}; |
Oops, something went wrong.