mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
refactor(cli): migrate React Scripts generator to TS
This commit is contained in:
parent
d4d61499d5
commit
97bb8fddce
@ -9,8 +9,10 @@ import {
|
||||
copyTemplate,
|
||||
} 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/react',
|
||||
'@storybook/preset-create-react-app',
|
Loading…
x
Reference in New Issue
Block a user