Author Topic: cannot find type definition file for 'jquery' and 'jqueryui'  (Read 1777 times)

Jay

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 7
    • View Profile
Hi

I had downloaded the latest version of PQ grid. created a new visual studio 2019 project.

as instructed in web site, tried using npm i pqgrid and have copied all files in solution.

when i tried running sample code it says cannot find type definition in TS file.

sample project screenshot attached.

please assist.



Thanks
Jay
---

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: cannot find type definition file for 'jquery' and 'jqueryui'
« Reply #1 on: June 08, 2020, 12:04:01 pm »
You are supposed to add type definitions of jQuery & jQueryUI in package.json file in your project.

Please check the sample project: https://stackblitz.com/edit/paramquery-ng-locale?file=package.json