dependencies: Install `@types/jquery.validation for type annotation.

`signup.js` uses `jquery-validation` plugin, which is a javascript
package shipped without type definitions. Installing its corresponding
types help with TypeScript migration by allowing types annotations
involving the plugin methods and obejcts.
This commit is contained in:
Junyao Chen
2023-06-12 21:38:02 +00:00
committed by Tim Abbott
parent c008ba1172
commit 4730cdab17
4 changed files with 12 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
"paths": {
"*": ["web/src/types/*"],
},
"types": [],
"types": ["@types/jquery.validation"],
/* TypeScript 3.4 added the --incremental flag but its API is not
* currently public so ts-loader cannot use it yet.