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:
81 files changed
+434
-241
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user