summaryrefslogtreecommitdiff
path: root/typings
diff options
context:
space:
mode:
authorMichaël Zasso <targos@protonmail.com>2021-09-26 16:07:13 +0200
committerMichaël Zasso <targos@protonmail.com>2021-10-10 11:03:22 +0200
commit70a5b860491b3908a8b80bed2b62f353d296359e (patch)
treef43e0d7247bb76276279a967f54556fb37b3cbf1 /typings
parent3815a21beb0ca550efc348bee707689f4f43713d (diff)
downloadnode-new-70a5b860491b3908a8b80bed2b62f353d296359e.tar.gz
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.ts1
-rw-r--r--typings/internalBinding/util.d.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/typings/internalBinding/options.d.ts b/typings/internalBinding/options.d.ts
index 2257463174..ded726f9d7 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 2158c7ed68..3d89796662 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;
};