build: perform TypeCheck for all packages (#2573)

Co-authored-by: himself65 <himself65@outlook.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
This commit is contained in:
authored and GitHub committed 2023-05-31 12:49:56 +00:00
1 parent 78410f531a
commit 1ea445ab15
81 files changed
+434 -241

No files matched your search

+3 -3
View File
@@ -32,9 +32,9 @@ export const globalTypes = {
},
};
const createI18nDecorator = ({ options } = { options: {} }) => {
const i18n = createI18n(options);
const withI18n = (Story, context) => {
const createI18nDecorator = () => {
const i18n = createI18n();
const withI18n = (Story: any, context: any) => {
const locale = context.globals.locale;
useEffect(() => {
i18n.changeLanguage(locale);