Typescript and JQuery compile error: Cannot find name '$'

前端 未结 5 2114
醉梦人生
醉梦人生 2021-02-05 03:13

I\'m testing typescript with jquery, but when I compile the test.ts file, it always gives me an error indicating: Cannot find name \'$\'.

I\'ve already imported jquery &

5条回答
  •  广开言路
    2021-02-05 03:52

    You probably have some vulnerabilities you need to fix.

    Run npm audit fix to fix them, or npm audit for details.

提交回复
热议问题