Skip to content

Installing typedoc via npm installs @types/node #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dieseldjango opened this issue Feb 7, 2017 · 1 comment
Closed

Installing typedoc via npm installs @types/node #408

dieseldjango opened this issue Feb 7, 2017 · 1 comment
Labels
wontfix Declining to implement

Comments

@dieseldjango
Copy link

dieseldjango commented Feb 7, 2017

Typedoc has a dependency on @types/fs-extra, which has a dependency on @types/node. Unfortunately, installing @types/node into node_modules in a react-native typescript project creates global type definition conflicts. This is preventing me from installing typedoc as a local package dependency.

@blakeembrey
Copy link
Member

blakeembrey commented Feb 8, 2017

Yeah, it's shitty but nothing this repo can or should fix. Just correct your tsconfig.json file to use the types you'd prefer and search existing issues first (e.g. #310 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix Declining to implement
Projects
None yet
Development

No branches or pull requests

2 participants