jspm / jQuery / TypeScript - module "jquery" has no default export jspm / jQuery / TypeScript - module "jquery" has no default export typescript typescript

jspm / jQuery / TypeScript - module "jquery" has no default export


When the module doesn't have a default export, you can import the complete module as object: import * as $ from "jquery";

or import named exports:import { ajax, css } from "jquery";


If you are using visual studio, update the typescript plugin.

To obtain the latest version for visual studio 2017, go there