refactor(cli): migrate Riot generator to TS

This commit is contained in:
Gaëtan Maisse 2020-05-14 22:23:03 +02:00
parent 97bb8fddce
commit 7a75fd3b66
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,