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
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.