Skip to content
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

TSD Issues? #2

Closed
jvilk opened this issue Oct 7, 2015 · 1 comment
Closed

TSD Issues? #2

jvilk opened this issue Oct 7, 2015 · 1 comment

Comments

@jvilk
Copy link

jvilk commented Oct 7, 2015

Hey @basarat!

I'm having trouble using this structure for a project. Here's the scenario:

  • ts-npm-module references its tsd.d.ts, which references a local version of node.d.ts.
  • ts-npm-module-consume references its tsd.d.ts, which references a local version of node.d.ts.

The result is many messages like the following:

/path/to/ts-npm-module-consume/node_modules/ts-npm-module/ts/typings/node/node.d.ts(1512,9): error TS2300: Duplicate identifier 'ca'.

Any advice?

@jvilk
Copy link
Author

jvilk commented Oct 7, 2015

Nevermind! You just reference tsd.d.ts from tsconfig.json, not within a file.

@jvilk jvilk closed this as completed Oct 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant