From 78d9f90060282a549d363d1fe6deb8bad311591a Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 5 Dec 2021 13:47:09 +0100 Subject: [PATCH] follow suggestion and fix typo --- docs/src/pages/guides/typescript/typescript.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/guides/typescript/typescript.md b/docs/src/pages/guides/typescript/typescript.md index e218df1933e60c..b31324ec80dba0 100644 --- a/docs/src/pages/guides/typescript/typescript.md +++ b/docs/src/pages/guides/typescript/typescript.md @@ -4,6 +4,8 @@ ## Minimum configuration + + MUI requires a minimum version of TypeScript 3.5. Have a look at the [Create React App with TypeScript](https://github.com/mui-org/material-ui/tree/master/examples/create-react-app-with-typescript) example. For types to work, you should have at the minimum the following options enabled @@ -39,7 +41,7 @@ type in those cases for [the same reasons `event.target` is not generic in React The demos include typed variants that use type casting. It is an acceptable tradeoff because the types are all located in a single file and are very basic. You have to decide for yourself -if the same tradeoff is acceptable for you. The library types are be strict +if the same tradeoff is acceptable for you. The library types are strict by default and loose via opt-in. ## Customization of `Theme`