Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Junyao Chen4730cdab1785
diff --git a/package.json b/package.json
index b56b4899d01..ce0841cd8d1 100644
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 438134d4e2e..c6ae01cc3ea 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -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
+ resolution: {integrity: sha512-auRrFzVUOOg7jcLMGyEhvKAC84e8/Tu27wJXDLk3NZ0XCKGZWHYm7livBEjRs3LkB4vGnMKqWXBBnRpmCO9mhQ==}
+ dependencies:
+ '@types/jquery': 3.5.16
+ dev: true
+
resolution: {integrity: sha512-bsI7y4ZgeMkmpG9OM710RRzDFp+w4P1RGiIt30C1mSBT+ExCleeh4HObwgArnDFELmRrOpXgSYN9VF1hj+f1lw==}
dependencies:
diff --git a/tsconfig.json b/tsconfig.json
index 118d4e3864d..07dd0a313c0 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -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.
diff --git a/version.py b/version.py
index 70dd1e1492c..0feada16ef9 100644
--- a/version.py
+++ b/version.py
@@ -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)