github-desktop/script/globals.d.ts
2022-01-28 10:18:07 +01:00

12 lines
344 B
TypeScript

type Package = {
productName?: string
dependencies: Record<string, string>
devDependencies?: Record<string, string>
}
declare namespace NodeJS {
// eslint-disable-next-line @typescript-eslint/naming-convention
interface Process extends EventEmitter {
on(event: 'unhandledRejection', listener: (error: Error) => void): this
}
}