Aurelia with jspm and TypeScript
Answered
Hi!
We're using Aurelia with Typescript. We load modules using Systemjs and using jspm.
It works fine to import modules using "import" like this:
import {Aurelia, autoinject} from 'aurelia-framework';
But when using it like this (e.g.):
@autoinject
export class SomeClass {
constructor(private aurelia: Aurelia ...
Resharper complains that it cannot resolve autoinject or Aurelia. (It says: "Symbol 'autoinject' cannot be properly resolved, probably it is located in inaccessible module" and "Could not find symbol 'Aurelia' in external module 'xxx.ts'").
What can be done to fix this?
Please sign in to leave a comment.
Hello Henrik,
Do you use R# 2016.2 EAP build https://confluence.jetbrains.com/display/ReSharper/ReSharper+2016.2+EAP? Such issue https://youtrack.jetbrains.com/issue/RSRP-458759 has been fixed there.
Thanks!
No, I'm not. I'm using 2016.1. How do I get access to 2016.2?
Just download the latest build from https://confluence.jetbrains.com/display/ReSharper/ReSharper+2016.2+EAP and install it.
Cool! Thanks!