From dd53f02819ade368758b26b0f60a06b4db188ed4 Mon Sep 17 00:00:00 2001 From: Peach Date: Sun, 8 Jan 2023 16:35:44 +0800 Subject: [PATCH 1/2] chore: make dumi types can be resolved --- tsconfig.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 9e4d9bf..f2894c8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,11 +12,12 @@ "src/*" ], "@@/*": [ - "src/.umi/*" + ".dumi/tmp/*" ], "rc-align": [ "src/index.ts" ] } - } -} \ No newline at end of file + }, + "include": [".dumi/**/*", ".dumirc.ts", "src/**/*"] +} From f8a11252ff8e2581ac061d6cac7962e0498d5101 Mon Sep 17 00:00:00 2001 From: Peach Date: Sun, 8 Jan 2023 16:40:10 +0800 Subject: [PATCH 2/2] chore: update tsconfig include --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index f2894c8..424b04e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,5 +19,5 @@ ] } }, - "include": [".dumi/**/*", ".dumirc.ts", "src/**/*"] + "include": [".dumi/**/*", ".dumirc.ts", "**/*.ts", "**/*.tsx"] }