зеркало из https://github.com/electron/universal.git
20 строки
356 B
TypeScript
20 строки
356 B
TypeScript
declare namespace NodeJS {
|
|
interface Process extends EventEmitter {
|
|
// This is an undocumented private API. It exists.
|
|
_archPath: string;
|
|
}
|
|
}
|
|
|
|
declare module 'electron' {
|
|
const app: Electron.App;
|
|
|
|
namespace Electron {
|
|
interface App {
|
|
getAppPath: () => string;
|
|
setAppPath: (p: string) => void;
|
|
}
|
|
}
|
|
|
|
export { app };
|
|
}
|