refactor(cli): migrate Mithril generator to TS

This commit is contained in:
Gaëtan Maisse 2020-05-14 22:17:26 +02:00
parent a124364968
commit 493ab0f399
No known key found for this signature in database
GPG Key ID: D934C0EF3714A8A8

View File

@ -6,8 +6,10 @@ import {
installDependencies,
copyTemplate,
} from '../../helpers';
import { NpmOptions } from '../../NpmOptions';
import { GeneratorOptions } from '../../GeneratorOptions';
export default async (npmOptions, { storyFormat }) => {
export default async (npmOptions: NpmOptions, { storyFormat }: GeneratorOptions) => {
const [
storybookVersion,
actionsVersion,