mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
refactor(cli): migrate Web Components generator to TS
This commit is contained in:
parent
ef309886e3
commit
d0b0d1fb0c
@ -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',
|
Loading…
x
Reference in New Issue
Block a user