From e10ab3e3ed269095f21d7ce0a23c4f2ba8a89366 Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Fri, 6 Sep 2024 09:48:17 -0600 Subject: [PATCH] Add support for TypeScript 5.6 Resolves #2699 --- CHANGELOG.md | 1 + package-lock.json | 10 +++++----- package.json | 4 ++-- tsconfig.json | 1 + 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 401cd9204..3f33cf47d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Features +- Support TypeScript 5.6, #2699. - Added `customJs` option to include a script tag in generated HTML output, #2650. - Added `markdownLinkExternal` option to treat `http[s]://` links in markdown documents and comments as external to be opened in a new tab, #2679. - Added `navigation.excludeReferences` option to prevent re-exports from appearing in the left hand navigation, #2685. diff --git a/package-lock.json b/package-lock.json index a20acbb6c..974379e9a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,14 +31,14 @@ "prettier": "3.3.3", "puppeteer": "^23.3.0", "ts-node": "^10.9.2", - "typescript": "5.5.4", + "typescript": "5.6.1-rc", "typescript-eslint": "^8.4.0" }, "engines": { "node": ">= 18" }, "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x" + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x" } }, "node_modules/@babel/code-frame": { @@ -4076,9 +4076,9 @@ "license": "MIT" }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.1-rc", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.1-rc.tgz", + "integrity": "sha512-E3b2+1zEFu84jB0YQi9BORDjz9+jGbwwy1Zi3G0LUNw7a7cePUrHMRNy8aPh53nXpkFGVHSxIZo5vKTfYaFiBQ==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 7a3e18493..af6e8526f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "yaml": "^2.5.1" }, "peerDependencies": { - "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x" + "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x" }, "devDependencies": { "@types/lunr": "^2.3.7", @@ -46,7 +46,7 @@ "prettier": "3.3.3", "puppeteer": "^23.3.0", "ts-node": "^10.9.2", - "typescript": "5.5.4", + "typescript": "5.6.1-rc", "typescript-eslint": "^8.4.0" }, "files": [ diff --git a/tsconfig.json b/tsconfig.json index 70152b588..6e3800ac2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,6 +20,7 @@ "noUnusedLocals": true, "noUnusedParameters": true, "forceConsistentCasingInFileNames": true, + "noUncheckedSideEffectImports": true, // Library "preserveConstEnums": true, "declaration": true,