Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fbe0323

Browse filesBrowse files
MesteeryBethGriggs
authored andcommitted
typings: improve internal bindings typings
PR-URL: #40411 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent eea061f commit fbe0323
Copy full SHA for fbe0323

File tree

Expand file treeCollapse file tree

11 files changed

+501
-442
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

11 files changed

+501
-442
lines changed
Open diff view settings
Collapse file

‎typings/globals.d.ts‎

Copy file name to clipboard
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1-
declare type TypedArray = Uint16Array | Uint32Array | Uint8Array | Uint8ClampedArray | Int16Array | Int32Array | Int8Array | BigInt64Array | Float32Array | Float64Array | BigUint64Array;
1+
declare type TypedArray =
2+
| Uint8Array
3+
| Uint8ClampedArray
4+
| Uint16Array
5+
| Uint32Array
6+
| Int8Array
7+
| Int16Array
8+
| Int32Array
9+
| Float32Array
10+
| Float64Array
11+
| BigUint64Array
12+
| BigInt64Array;
Collapse file
+11-11Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
declare function InternalBinding(binding: 'config'): {
2-
isDebugBuild: boolean,
3-
hasOpenSSL: boolean,
4-
fipsMode: boolean,
5-
hasIntl: boolean,
6-
hasTracing: boolean,
7-
hasNodeOptions: boolean,
8-
hasInspector: boolean,
9-
noBrowserGlobals: boolean,
10-
bits: number,
11-
hasDtrace: boolean
12-
}
2+
isDebugBuild: boolean;
3+
hasOpenSSL: boolean;
4+
fipsMode: boolean;
5+
hasIntl: boolean;
6+
hasTracing: boolean;
7+
hasNodeOptions: boolean;
8+
hasInspector: boolean;
9+
noBrowserGlobals: boolean;
10+
bits: number;
11+
hasDtrace: boolean;
12+
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.