refactor(cli): migrate Web Components generator to TS

This commit is contained in:
Gaëtan Maisse 2020-05-14 22:25:29 +02:00
parent ef309886e3
commit d0b0d1fb0c
No known key found for this signature in database
GPG Key ID: D934C0EF3714A8A8

View File

@ -8,8 +8,10 @@ import {
installDependencies,
} from '../../helpers';
import { STORY_FORMAT } from '../../project_types';
import { NpmOptions } from '../../NpmOptions';
import { GeneratorOptions } from '../../GeneratorOptions';
export default async (npmOptions, { storyFormat }) => {
export default async (npmOptions: NpmOptions, { storyFormat }: GeneratorOptions) => {
const packages = [
'@storybook/web-components',
'@storybook/addon-actions',