2 comments
Comment actions Permalink

You need adding the corresponding ///<reference path> comments to your .ts files.
See the discussion at https://gitter.im/Aurelia/Discuss/archives/2015/01/12

For example, you need to add

/// <reference path="../typings/aurelia/aurelia-router.d.ts" />


to app.ts and

/// <reference path="../../typings/es6.d.ts" />


to aurelia-router.d.ts to let the compiler know where to look for type definitions

0
Comment actions Permalink

I have same issue. I do not add any comments, and fix it:

1. Add original `.d.ts` file from `node_modules` to my `types` folder

2. Wait to no modules errors in IDE

3. Remove `.d.ts` ftom my `types` folder

4. All works fine... magic )

0

Please sign in to leave a comment.