15 lines
362 B
TypeScript
15 lines
362 B
TypeScript
|
/// <reference path="../electron.d.ts" />
|
||
|
|
||
|
/**
|
||
|
* This file augments the Electron TS namespace with the internal APIs
|
||
|
* that are not documented but are used by Electron internally
|
||
|
*/
|
||
|
|
||
|
declare namespace Electron {
|
||
|
interface App {
|
||
|
setVersion(version: string): void;
|
||
|
setDesktopName(name: string): void;
|
||
|
setAppPath(path: string | null): void;
|
||
|
}
|
||
|
}
|