github-desktop/script/globals.d.ts

15 lines
400 B
TypeScript
Raw Normal View History

2017-07-28 12:25:05 +00:00
// type annotations for package.json dependencies
type PackageLookup = { [key: string]: string }
type Package = {
dependencies: PackageLookup
devDependencies: PackageLookup
}
declare namespace NodeJS {
2020-06-24 18:28:06 +00:00
// eslint-disable-next-line @typescript-eslint/naming-convention
interface Process extends EventEmitter {
on(event: 'unhandledRejection', listener: (error: Error) => void): this
}
}