docs: fix ordered list numbering in TypeScript with React Components section (#7941)

This commit is contained in:
Mohammad Reza Badri
2025-09-02 20:30:49 +03:30
committed by GitHub
parent 73a5fdd7fa
commit fc27b0aa9a

View File

@@ -38,7 +38,7 @@ npm install @types/react @types/react-dom
The following compiler options need to be set in your `tsconfig.json`:
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).
1. [`jsx`](https://www.typescriptlang.org/tsconfig/#jsx) must be set to one of the valid options. `preserve` should suffice for most applications.
2. [`jsx`](https://www.typescriptlang.org/tsconfig/#jsx) must be set to one of the valid options. `preserve` should suffice for most applications.
If you're publishing a library, consult the [`jsx` documentation](https://www.typescriptlang.org/tsconfig/#jsx) on what value to choose.
## TypeScript with React Components {/*typescript-with-react-components*/}