I have done the following:
- ran
jspm install aurelia-http-client
- set up gulp to package my framework JavaScript.
- ran
gulp bundle
- checked the resulting file, and it now contains aurelia-http-client and the correct version number.
- I have ReSharper v2016.2.2 installed
- I have TypeScript v2.0.3 installed
Aurelia with bindings and everything works fine.
This part here is what's cause me a headache
import { HttpClient } from 'aurelia-http-client';
There is a read squiggly line under 'aurelia-http-client', and if i try to build i get the error message from the title.
When I tried to get aurelia-fetch-client to work i had to do some typings magic, and finally it wanted to work, but i can't find anyone who uses typings for aurelia-http-client. It seems it just works for most people.
Anyone know how to fix this?