DAG
DAG

Reputation: 2630

ReSharper TypeScript not recognizing implementation

I've declared my interface and implemented it but ReSharper keeps saying that it was not implemented. Am I doing anything wrong I can't see or is this a ReSharper bug?

See image with the warning:

enter image description here

Upvotes: 0

Views: 137

Answers (2)

Anton
Anton

Reputation: 827

It's a known issue with DNX projects and ReSharper. Please declare an empty module named 'ng' in one of your files, and everything should work fine afterwards. Will be fixed in the next version of ReSharper.

https://youtrack.jetbrains.com/issue/RSRP-451565

Upvotes: 3

Bob Platt
Bob Platt

Reputation: 11

It look like the last line has the relevant statement:

    Return types are incompatible.

ILoginService.authentificate(...) should return a "ng.IPromise" type.

Upvotes: 0

Related Questions