Skip to content

Commit fc27b0a

Browse files
authored
docs: fix ordered list numbering in TypeScript with React Components section (#7941)
1 parent 73a5fdd commit fc27b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ npm install @types/react @types/react-dom
3838
The following compiler options need to be set in your `tsconfig.json`:
3939

4040
1. `dom` must be included in [`lib`](https://www.typescriptlang.org/tsconfig/#lib) (Note: If no `lib` option is specified, `dom` is included by default).
41-
1. [`jsx`](https://www.typescriptlang.org/tsconfig/#jsx) must be set to one of the valid options. `preserve` should suffice for most applications.
41+
2. [`jsx`](https://www.typescriptlang.org/tsconfig/#jsx) must be set to one of the valid options. `preserve` should suffice for most applications.
4242
If you're publishing a library, consult the [`jsx` documentation](https://www.typescriptlang.org/tsconfig/#jsx) on what value to choose.
4343

4444
## TypeScript with React Components {/*typescript-with-react-components*/}

0 commit comments

Comments
 (0)