mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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] ```
12 lines
163 B
Plaintext
12 lines
163 B
Plaintext
{
|
|
"$schema": "https://json.schemastore.org/swcrc",
|
|
"jsc": {
|
|
"parser": {
|
|
"syntax": "typescript"
|
|
}
|
|
},
|
|
"module": {
|
|
"type": "commonjs"
|
|
}
|
|
}
|