From d6488ca6d1e6959ea1fdfc29ed6b5b1274ce1c01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Fri, 21 Aug 2020 15:04:00 +0800 Subject: [PATCH] refactor: :up: upgrade TypeScript to 4.0 (#26318) https://devblogs.microsoft.com/typescript/announcing-typescript-4-0/ --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index da9a31c9c1..4690281068 100644 --- a/package.json +++ b/package.json @@ -235,7 +235,7 @@ "preact": "^10.0.0", "preact-compat": "^3.18.5", "prettier": "^2.0.1", - "pretty-quick": "^2.0.0", + "pretty-quick": "^3.0.0", "querystring": "^0.2.0", "rc-footer": "^0.6.3", "rc-queue-anim": "^1.6.12", @@ -277,7 +277,7 @@ "stylelint-declaration-block-no-ignored-properties": "^2.1.0", "stylelint-order": "^4.0.0", "theme-switcher": "^1.0.2", - "typescript": "~3.9.2", + "typescript": "~4.0.0", "webpack-bundle-analyzer": "^3.6.0", "xhr-mock": "^2.4.1", "xhr2": "^0.2.0",