mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user