mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
3
typings/internalBinding/config.d.ts
vendored
3
typings/internalBinding/config.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
1
typings/internalBinding/os.d.ts
vendored
1
typings/internalBinding/os.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user