ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: Jay on June 08, 2020, 11:03:51 am

Title: cannot find type definition file for 'jquery' and 'jqueryui'
Post by: Jay on June 08, 2020, 11:03:51 am
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
---
Title: Re: cannot find type definition file for 'jquery' and 'jqueryui'
Post by: paramvir 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