Skip to content

Commit

Permalink
Add support for TypeScript 4.6
Browse files Browse the repository at this point in the history
Closes #1877
  • Loading branch information
Gerrit0 committed Mar 6, 2022
1 parent fe6758c commit eab5dd4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
", "
)}`
);
Expand Down

0 comments on commit eab5dd4

Please sign in to comment.