Files
electron-universal/entry-asar/ambient.d.ts
2023-11-02 19:10:17 -03:00

20 lines
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 };
}