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] ```
Showing
| ... | @@ -194,7 +194,7 @@ | ... | @@ -194,7 +194,7 @@ |
| "postcss-pseudoelements": "5.0.0", | "postcss-pseudoelements": "5.0.0", | ||
| "postcss-short-size": "4.0.0", | "postcss-short-size": "4.0.0", | ||
| "postcss-trolling": "0.1.7", | "postcss-trolling": "0.1.7", | ||
| "prettier": "2.5.1", | "prettier": "2.8.8", | ||
| "pretty-bytes": "5.3.0", | "pretty-bytes": "5.3.0", | ||
| "pretty-ms": "7.0.0", | "pretty-ms": "7.0.0", | ||
| "random-seed": "0.3.0", | "random-seed": "0.3.0", | ||
| ... | ... |
Please
register
or
sign in
to comment