mirror of https://github.com/zulip/zulip.git
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:
parent
c008ba1172
commit
4730cdab17
|
@ -94,6 +94,7 @@
|
|||
"@types/blueimp-md5": "^2.18.0",
|
||||
"@types/clean-css": "^4.2.2",
|
||||
"@types/jquery": "^3.3.31",
|
||||
"@types/jquery.validation": "^1.16.7",
|
||||
"@types/katex": "^0.16.0",
|
||||
"@types/lodash": "^4.14.172",
|
||||
"@types/micromodal": "^0.3.3",
|
||||
|
|
|
@ -280,6 +280,9 @@ devDependencies:
|
|||
'@types/jquery':
|
||||
specifier: ^3.3.31
|
||||
version: 3.5.16
|
||||
'@types/jquery.validation':
|
||||
specifier: ^1.16.7
|
||||
version: 1.16.7
|
||||
'@types/katex':
|
||||
specifier: ^0.16.0
|
||||
version: 0.16.1
|
||||
|
@ -2915,6 +2918,12 @@ packages:
|
|||
'@types/istanbul-lib-report': 3.0.0
|
||||
dev: false
|
||||
|
||||
/@types/jquery.validation@1.16.7:
|
||||
resolution: {integrity: sha512-auRrFzVUOOg7jcLMGyEhvKAC84e8/Tu27wJXDLk3NZ0XCKGZWHYm7livBEjRs3LkB4vGnMKqWXBBnRpmCO9mhQ==}
|
||||
dependencies:
|
||||
'@types/jquery': 3.5.16
|
||||
dev: true
|
||||
|
||||
/@types/jquery@3.5.16:
|
||||
resolution: {integrity: sha512-bsI7y4ZgeMkmpG9OM710RRzDFp+w4P1RGiIt30C1mSBT+ExCleeh4HObwgArnDFELmRrOpXgSYN9VF1hj+f1lw==}
|
||||
dependencies:
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -48,4 +48,4 @@ API_FEATURE_LEVEL = 202
|
|||
# historical commits sharing the same major version, in which case a
|
||||
# minor version bump suffices.
|
||||
|
||||
PROVISION_VERSION = (246, 0)
|
||||
PROVISION_VERSION = (246, 1)
|
||||
|
|
Loading…
Reference in New Issue