Prettier doesn't yet fully support the new syntax added in TypeScript 3.8:
Syntax | typescript parser |
babel-ts parser |
---|---|---|
Type-Only Imports and Exports | ✔️ | ❌ |
ECMAScript Private Fields | ✔️ | ✔️ |
export * as ns |
❌ | ❌ |
Prettier doesn't yet fully support the new syntax added in TypeScript 3.8:
Syntax | typescript parser |
babel-ts parser |
---|---|---|
Type-Only Imports and Exports | ✔️ | ❌ |
ECMAScript Private Fields | ✔️ | ✔️ |
export * as ns |
❌ | ❌ |