From d933c5052f67e9f997b4bfb93e3687788fd90929 Mon Sep 17 00:00:00 2001 From: Peach Date: Sun, 8 Jan 2023 16:32:10 +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 22fce2e..442b718 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,11 +12,12 @@ "src/*" ], "@@/*": [ - "src/.umi/*" + ".dumi/tmp/*" ], "@rc-component/context": [ "src/index.ts" ] } - } -} \ No newline at end of file + }, + "include": [".dumi/**/*", ".dumirc.ts", "src/**/*"] +} From af7f7a0ce59300407c573037eabcdc4658013c2b Mon Sep 17 00:00:00 2001 From: Peach Date: Sun, 8 Jan 2023 16:43:38 +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 442b718..56cdc96 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,5 +19,5 @@ ] } }, - "include": [".dumi/**/*", ".dumirc.ts", "src/**/*"] + "include": [".dumi/**/*", ".dumirc.ts", "**/*.ts", "**/*.tsx"] }