mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Add Electron specific versions to process.versions (#10320)
This commit is contained in:
committed by
Masahiro Wakame
parent
f305105c13
commit
bf140ce89a
Vendored
+12
-10
@@ -301,6 +301,17 @@ declare namespace NodeJS {
|
||||
heapUsed: number;
|
||||
}
|
||||
|
||||
export interface ProcessVersions {
|
||||
http_parser: string;
|
||||
node: string;
|
||||
v8: string;
|
||||
ares: string;
|
||||
uv: string;
|
||||
zlib: string;
|
||||
modules: string;
|
||||
openssl: string;
|
||||
}
|
||||
|
||||
export interface Process extends EventEmitter {
|
||||
stdout: WritableStream;
|
||||
stderr: WritableStream;
|
||||
@@ -320,16 +331,7 @@ declare namespace NodeJS {
|
||||
setuid(id: number): void;
|
||||
setuid(id: string): void;
|
||||
version: string;
|
||||
versions: {
|
||||
http_parser: string;
|
||||
node: string;
|
||||
v8: string;
|
||||
ares: string;
|
||||
uv: string;
|
||||
zlib: string;
|
||||
modules: string;
|
||||
openssl: string;
|
||||
};
|
||||
versions: ProcessVersions;
|
||||
config: {
|
||||
target_defaults: {
|
||||
cflags: any[];
|
||||
|
||||
Reference in New Issue
Block a user