Skip to content

Commit

Permalink
Fix changelog for support TypeScript 4.2 (#10595)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Mar 25, 2021
1 parent 99ac66b commit 34cff10
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions changelog_unreleased/typescript/10418.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#### Support TypeScript 4.2 `abstract` Construct Signatures (#10418, #10466 by @sosukesuzuki)
#### Support TypeScript 4.2 (#10418, #10466, #10546, #10589 by @sosukesuzuki)

Support [`abstract` Construct Signatures](https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/#abstract-construct-signatures).
##### [`abstract` Construct Signatures](https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/#abstract-construct-signatures)

<!-- prettier-ignore -->
```ts
Expand All @@ -14,3 +14,18 @@ SyntaxError: Unexpected token, expected ";" (1:19)
type T = abstract new () => void;

```

##### [Type imports in import require declaration](https://github.com/microsoft/TypeScript/pull/41573)

<!-- prettier-ignore -->
```ts
// Input
import type A = require("A");

// Prettier main
SyntaxError: Only ECMAScript imports may use 'import type'.

// Prettier stable
import type A = require("A");

```

0 comments on commit 34cff10

Please sign in to comment.