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

Generated typescript definition files contain errors #16

Open
iovergard opened this issue Oct 1, 2015 · 2 comments
Open

Generated typescript definition files contain errors #16

iovergard opened this issue Oct 1, 2015 · 2 comments

Comments

@iovergard
Copy link

Currently the typescript definition files generated by babel-dts-generator contain the following errors:

Severity    Code    Description Project File    Line
Error   TS2439  Import or export declaration in an ambient module declaration cannot reference module through relative module name. [email protected]\decorators\handle.d.ts   2
Error   TS2439  Import or export declaration in an ambient module declaration cannot reference module through relative module name. [email protected]\decorators\waitFor.d.ts  2
Error   TS2307  Cannot find module 'aurelia-flux/instance-dispatcher'.  [email protected]\flux-dispatcher.d.ts 3
Error   TS2314  Generic type 'Set<T>' requires 1 type argument(s).  [email protected]\flux-dispatcher.d.ts 7
Error   TS2307  Cannot find module 'aurelia-flux/lifecycle-manager'.    [email protected]\index.d.ts   2
Error   TS2307  Cannot find module 'aurelia-flux/router'.   [email protected]\index.d.ts   3
Error   TS2307  Cannot find module 'aurelia-flux/instance-dispatcher'.  [email protected]\index.d.ts   4
Error   TS2307  Cannot find module 'aurelia-flux/decorators/handle'.    [email protected]\index.d.ts   9
Error   TS2307  Cannot find module 'aurelia-flux/decorators/waitFor'.   [email protected]\index.d.ts   10
Error   TS2307  Cannot find module 'aurelia-flux/metadata'. [email protected]\instance-dispatcher.d.ts 2
Error   TS2307  Cannot find module 'aurelia-flux/utils'.    [email protected]\instance-dispatcher.d.ts 3
Error   TS2307  Cannot find module 'aurelia-flux/flux-dispatcher'.  [email protected]\instance-dispatcher.d.ts 4
Error   TS2307  Cannot find module 'aurelia-flux/symbols'.  [email protected]\instance-dispatcher.d.ts 6
Error   TS2307  Cannot find module 'aurelia-flux/instance-dispatcher'.  [email protected]\lifecycle-manager.d.ts   4
Error   TS2307  Cannot find module 'aurelia-flux/flux-dispatcher'.  [email protected]\lifecycle-manager.d.ts   5
Error   TS2307  Cannot find module 'aurelia-flux/metadata'. [email protected]\lifecycle-manager.d.ts   6
Error   TS2307  Cannot find module 'aurelia-flux/symbols'.  [email protected]\lifecycle-manager.d.ts   7
Error   TS2307  Cannot find module 'aurelia-flux/symbols'.  [email protected]\metadata.d.ts    2
Error   TS2307  Cannot find module 'aurelia-flux/flux-dispatcher'.  [email protected]\router.d.ts  3
@tfrydrychewicz
Copy link
Owner

I'm thinking about creating a separate TSD for aurelia-flux. Do you think that would help?

@iovergard
Copy link
Author

Yeah, that would definitely help.

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

2 participants