Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Commit

Permalink
fix(Generate): Use Promise<unknown> when generating themes
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Feb 14, 2020
1 parent e7554bd commit 87736d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fs.writeFileSync(
* Map of theme Javascript modules
*/
export const themes: {
${themes.map(theme => `${theme}: Promise<any>`).join('\n ')}
${themes.map(theme => `${theme}: Promise<unknown>`).join('\n ')}
} = {
${themes.map(theme => `${theme}: import('./${theme}')`).join(',\n ')}
}
Expand Down

0 comments on commit 87736d1

Please sign in to comment.