typings: add missing properties in ConfigBinding

PR-URL: https://github.com/nodejs/node/pull/59585
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
This commit is contained in:
Lee Jiho
2025-09-09 01:12:56 +09:00
committed by GitHub
parent 745e6c2012
commit e23105794c
2 changed files with 4 additions and 0 deletions

View File

@@ -1,12 +1,15 @@
export interface ConfigBinding {
isDebugBuild: boolean;
openSSLIsBoringSSL: boolean;
hasOpenSSL: boolean;
fipsMode: boolean;
hasIntl: boolean;
hasSmallICU: boolean;
hasTracing: boolean;
hasNodeOptions: boolean;
hasInspector: boolean;
noBrowserGlobals: boolean;
bits: number;
hasDtrace: boolean;
getDefaultLocale(): string;
}

View File

@@ -22,4 +22,5 @@ export interface OSBinding {
getPriority(pid: number, ctx: InternalOSBinding.OSContext): number | undefined;
getOSInformation(ctx: InternalOSBinding.OSContext): [sysname: string, version: string, release: string];
isBigEndian: boolean;
getAvailableParallelism(): number;
}