From 764a59338b31a29bd9fb39be572bb5cddf007d5b Mon Sep 17 00:00:00 2001 From: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com> Date: Sat, 23 Aug 2025 00:55:45 +0330 Subject: [PATCH] docs: fix ordered list numbering in TypeScript with React Components section --- src/content/learn/typescript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/learn/typescript.md b/src/content/learn/typescript.md index c348e649662..e6ff4ff467c 100644 --- a/src/content/learn/typescript.md +++ b/src/content/learn/typescript.md @@ -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*/}