react_ui: .d.ts ファイルが正しく出力されないのを修正
types/src/components/*.ts のように吐き出されていた。
原因は tsc が .stories.tsx ファイルをトランスパイルしようとし、
それらが読み込んでいる .storybook/decorators/*.tsx までもトランス
パイルしようとした結果 src/ からはみ出したため出力のルートディレ
クトリを変えたこと。 tsc のこのクソ挙動はいつになったら治るのだ
ろうか。
Changes
1 changed files
(+1/-1)
-
-
"outDir": "./types"
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
-
"exclude": ["src/mocks"]
+
"exclude": ["src/mocks", "src/**/*.stories.tsx"]
}
- Authored by
-
Shota FUJI
- Authored at
-
- Committed by
-
Shota FUJI
- Committed at
-
- Signature
-
View
- Object name
- 521aeea49f27c697a90533f8d5d9eddd17d2eb06
- Parent
-
58c06980
- Tab width
-