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

Cannot find name '...' #76

Open
lcnvdl opened this issue Jul 25, 2016 · 0 comments
Open

Cannot find name '...' #76

lcnvdl opened this issue Jul 25, 2016 · 0 comments

Comments

@lcnvdl
Copy link

lcnvdl commented Jul 25, 2016

I'm getting the error "error TS2304: Cannot find name 'IAuthenticate'

Steps:

  1. I export my project using:
    dts-generator --name idc_shared --project . --out idc_shared.d.ts --exclude "node_modules//*.d.ts" --exclude "typings//*.d.ts"
  2. Then I copy the generated file "idc_shared.d.ts" to my other project, inside "typings" folder.
  3. I add a reference inside tsd.d.ts: "/// "

But when I compile my project, throws the error 2304. How can I attach the idc_shared js file to idc_shared.d.ts to avoid this problem ?

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