electron-prebuilt-compile icon indicating copy to clipboard operation
electron-prebuilt-compile copied to clipboard

Add a Typings file for use with TypeScript

Open charnpreetsingh opened this issue 7 years ago • 0 comments

As of version 1.6.10 electron includes a typings file for use by developers. It would be nice if this repository also included it, seeing that it tries to stay up to date with upstream electron.

Right now the temporary workaround is to specify where the typings file is in tsconfig.json via

"include": [ "node_modules/electron-prebuilt-compile/node_modules/electron" ]

otherwise Typescript cannot find the typings file.

charnpreetsingh avatar Jun 08 '17 00:06 charnpreetsingh