mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Add Electron specific versions to process.versions (#10320)
This commit is contained in:
committed by
Masahiro Wakame
parent
f305105c13
commit
bf140ce89a
12
github-electron/github-electron.d.ts
vendored
12
github-electron/github-electron.d.ts
vendored
@@ -5107,6 +5107,18 @@ interface File {
|
||||
// https://github.com/electron/electron/blob/master/docs/api/process.md
|
||||
|
||||
declare namespace NodeJS {
|
||||
|
||||
interface ProcessVersions {
|
||||
/**
|
||||
* Electron's version string.
|
||||
*/
|
||||
electron: string;
|
||||
/**
|
||||
* Chrome's version string.
|
||||
*/
|
||||
chrome: string;
|
||||
}
|
||||
|
||||
interface Process {
|
||||
/**
|
||||
* Setting this to true can disable the support for asar archives in Node's built-in modules.
|
||||
|
||||
Reference in New Issue
Block a user