feat(v2): support TypeScript theme components (#2469)

This commit is contained in:
Sam Zhou 2020-03-27 07:02:36 -04:00 committed by GitHub
parent 079e1ce2df
commit ecfb55eee8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ export function themeAlias(
return {};
}
const themeComponentFiles = globby.sync(['**/*.{js,jsx}'], {
const themeComponentFiles = globby.sync(['**/*.{js,jsx,ts,tsx}'], {
cwd: themePath,
});