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 ca9a854

Browse filesBrowse files
committed
typings: add missing types to options and util bindings
PR-URL: #40222 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
1 parent c3a7a0b commit ca9a854
Copy full SHA for ca9a854

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎typings/internalBinding/options.d.ts‎

Copy file name to clipboardExpand all lines: typings/internalBinding/options.d.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ declare function InternalBinding(binding: 'options'): {
2020
kAllowedInEnvironment: 0;
2121
kDisallowedInEnvironment: 1;
2222
};
23+
noGlobalSearchPaths: boolean;
2324
shouldNotRegisterESMLoader: boolean;
2425
types: {
2526
kNoOp: 0;
Collapse file

‎typings/internalBinding/util.d.ts‎

Copy file name to clipboardExpand all lines: typings/internalBinding/util.d.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,5 @@ declare function InternalBinding(binding: 'util'): {
4444
shouldAbortOnUncaughtToggle: [shouldAbort: 0 | 1];
4545
WeakReference: typeof InternalUtilBinding.WeakReference;
4646
guessHandleType(fd: number): 'TCP' | 'TTY' | 'UDP' | 'FILE' | 'PIPE' | 'UNKNOWN';
47+
toUSVString(str: string, start: number): string;
4748
};

0 commit comments

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