From eab5dd484900339eff99a800f1c1912cbbcb6495 Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Sun, 6 Mar 2022 14:23:28 -0700 Subject: [PATCH] Add support for TypeScript 4.6 Closes #1877 --- CHANGELOG.md | 1 + package.json | 2 +- src/lib/application.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f253b11e3..cc61cba71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Features +- Add support for TypeScript 4.6, #1877. - Support copying `@param` comments for nested members that target union and intersection types, #1876. ## v0.22.12 (2022-02-20) diff --git a/package.json b/package.json index 89f58a8b0..d62d1ef7f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "shiki": "^0.10.1" }, "peerDependencies": { - "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x" + "typescript": "4.0.x || 4.1.x || 4.2.x || 4.3.x || 4.4.x || 4.5.x || 4.6.x" }, "devDependencies": { "@types/glob": "^7.2.0", diff --git a/src/lib/application.ts b/src/lib/application.ts index 5079140a3..f9bc913ea 100644 --- a/src/lib/application.ts +++ b/src/lib/application.ts @@ -206,7 +206,7 @@ export class Application extends ChildableComponent< ) ) { this.logger.warn( - `You are running with an unsupported TypeScript version! TypeDoc supports ${supportedVersionMajorMinor.join( + `You are running with an unsupported TypeScript version! This may work, or it might break. TypeDoc supports ${supportedVersionMajorMinor.join( ", " )}` );