diff --git a/docusaurus/docs/adding-typescript.md b/docusaurus/docs/adding-typescript.md index 6f4c86c6cc776a5380e67b620b6e363c6e782ca8..75ebe493a3eb59caec50ec73e9500b7f65405444 100644 --- a/docusaurus/docs/adding-typescript.md +++ b/docusaurus/docs/adding-typescript.md @@ -13,9 +13,9 @@ To start a new Create React App project with [TypeScript](https://www.typescript ```sh npx create-react-app my-app --template typescript - -# or - +``` +or +```sh yarn create react-app my-app --template typescript ``` @@ -27,9 +27,9 @@ To add [TypeScript](https://www.typescriptlang.org/) to an existing Create React ```sh npm install --save typescript @types/node @types/react @types/react-dom @types/jest - -# or - +``` +or +```sh yarn add typescript @types/node @types/react @types/react-dom @types/jest ```