0

I want to import JQuery using Typescript and I do what the official tutorial of Typescript say:

import * as $ from "jquery";

Still, I get an error:

"cannot find module jquery"

Do you have any idea how to resolve this issue?

CrazySynthax
  • 13,662
  • 34
  • 99
  • 183

1 Answers1

0

You need to install Typescript typings for the library. Run npm install -SD @types/jquery

Erik Cupal
  • 2,735
  • 1
  • 19
  • 20