From a24c12444a342964bfc9a1019f31fc50c03376c4 Mon Sep 17 00:00:00 2001 From: Raman Date: Sat, 14 Sep 2024 18:56:25 +0200 Subject: [PATCH] [bugfix] Enable synthetic default imports in TypeScript config (#43747) Co-authored-by: MUI bot <2109932+Janpot@users.noreply.github.com> --- docs/data/material/guides/typescript/typescript.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/data/material/guides/typescript/typescript.md b/docs/data/material/guides/typescript/typescript.md index 16263e85624be0..5310d4b13bc5d7 100644 --- a/docs/data/material/guides/typescript/typescript.md +++ b/docs/data/material/guides/typescript/typescript.md @@ -16,7 +16,8 @@ For types to work, it's recommended that you have at least the following options "lib": ["es6", "dom"], "noImplicitAny": true, "noImplicitThis": true, - "strictNullChecks": true + "strictNullChecks": true, + "allowSyntheticDefaultImports": true } } ```