Skip to content

Commit 372d51f

Browse files
committed
lint: switch to jsonc
1 parent 6fef0e7 commit 372d51f

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docs/pages/docs.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,7 @@ There are of couple things you will need to do to use WCC with JSX:
387387
388388
TSX (.tsx) file are also supported and your HTML will also be **type-safe**. You'll need to configure JSX in your _tsconfig.json_ by adding these two lines to your `compilerOptions` settings:
389389

390-
<!-- prettier-ignore-start -->
391-
392-
```json5
390+
```jsonc
393391
{
394392
"compilerOptions": {
395393
// required options
@@ -398,13 +396,11 @@ TSX (.tsx) file are also supported and your HTML will also be **type-safe**. You
398396
399397
// additional recommended options
400398
"allowImportingTsExtensions": true,
401-
"erasableSyntaxOnly": true
402-
}
399+
"erasableSyntaxOnly": true,
400+
},
403401
}
404402
```
405403

406-
<!-- prettier-ignore-end -->
407-
408404
If you create your own custom elements and use them in your TSX components, you'll need to define your own `interface` for them:
409405
410406
```ts

0 commit comments

Comments
 (0)