Skip to content

Commit 70a5b86

Browse 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 3815a21 commit 70a5b86

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

typings/internalBinding/options.d.ts

+1
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;

typings/internalBinding/util.d.ts

+1
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)