Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Add a Typings file for use with TypeScript #34

Open
charnpreetsingh opened this issue Jun 8, 2017 · 0 comments
Open

Add a Typings file for use with TypeScript #34

charnpreetsingh opened this issue Jun 8, 2017 · 0 comments

Comments

@charnpreetsingh
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant