next.js
55b29fb3 - Updates prettier to latest version. (#51000)

Commit
2 years ago
Updates prettier to latest version. (#51000) There are some incoming docs / MDX changes where prettier will throw an error when using the older version. Updating prettier before I bring in those changes. Looks like the most notable change is adding parentheses around `typeof` checks in TypeScript. **Before** ``` export type Locale = typeof i18n['locales'][number] ``` **After** ``` export type Locale = (typeof i18n)['locales'][number] ```
Author
Parents
Loading