Skip to content

Commit

Permalink
docs: add changelog item
Browse files Browse the repository at this point in the history
  • Loading branch information
ikatyang committed Jan 31, 2019
1 parent ffaf39b commit f79dd15
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.unreleased.md
Expand Up @@ -41,3 +41,34 @@ Examples:
```
-->

- TypeScript: Revert "Update typescript-estree to new package name" ([#5818] by [@ikatyang])

There is an internal change introduced in Prettier 1.16.2,
which updated `typescript-estree` to its new package name,
but unfortunately it broke the output
so we reverted it as a temporary workaround for now.

<!-- prettier-ignore -->
```ts
// Input
export default {
load<K, T>(k: K, t: T) {
return {k, t};
}
}

// Output (Prettier 1.16.2)
export default {
load(k: K, t: T) {
return { k, t };
}
};

// Output (Prettier 1.16.3)
export default {
load<K, T>(k: K, t: T) {
return { k, t };
}
};
```

0 comments on commit f79dd15

Please sign in to comment.