diff --git a/changelog_unreleased/typescript/10418.md b/changelog_unreleased/typescript/10418.md index 2873d1c8ea84..b33afe6f8fc2 100644 --- a/changelog_unreleased/typescript/10418.md +++ b/changelog_unreleased/typescript/10418.md @@ -7,10 +7,10 @@ // Input type T = abstract new () => void; -// Prettier main +// Prettier stable SyntaxError: Unexpected token, expected ";" (1:19) -// Prettier stable +// Prettier main type T = abstract new () => void; ``` @@ -22,10 +22,10 @@ type T = abstract new () => void; // Input import type A = require("A"); -// Prettier main +// Prettier stable SyntaxError: Only ECMAScript imports may use 'import type'. -// Prettier stable +// Prettier main import type A = require("A"); ```