diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-09-26 17:07:13 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-10-10 12:03:22 +0300 |
commit | 70a5b860491b3908a8b80bed2b62f353d296359e (patch) | |
tree | f43e0d7247bb76276279a967f54556fb37b3cbf1 /typings | |
parent | 3815a21beb0ca550efc348bee707689f4f43713d (diff) |
typings: add missing types to options and util bindings
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'typings')
-rw-r--r-- | typings/internalBinding/options.d.ts | 1 | ||||
-rw-r--r-- | typings/internalBinding/util.d.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/typings/internalBinding/options.d.ts b/typings/internalBinding/options.d.ts index 2257463174d..ded726f9d71 100644 --- a/typings/internalBinding/options.d.ts +++ b/typings/internalBinding/options.d.ts @@ -20,6 +20,7 @@ declare function InternalBinding(binding: 'options'): { kAllowedInEnvironment: 0; kDisallowedInEnvironment: 1; }; + noGlobalSearchPaths: boolean; shouldNotRegisterESMLoader: boolean; types: { kNoOp: 0; diff --git a/typings/internalBinding/util.d.ts b/typings/internalBinding/util.d.ts index 2158c7ed688..3d89796662f 100644 --- a/typings/internalBinding/util.d.ts +++ b/typings/internalBinding/util.d.ts @@ -44,4 +44,5 @@ declare function InternalBinding(binding: 'util'): { shouldAbortOnUncaughtToggle: [shouldAbort: 0 | 1]; WeakReference: typeof InternalUtilBinding.WeakReference; guessHandleType(fd: number): 'TCP' | 'TTY' | 'UDP' | 'FILE' | 'PIPE' | 'UNKNOWN'; + toUSVString(str: string, start: number): string; }; |