mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 04:21:07 +08:00
fixes
This commit is contained in:
parent
891aefc707
commit
8450bc2065
@ -32,8 +32,6 @@ export const addDecorator: ClientApi['addDecorator'] = api.clientApi
|
||||
.addDecorator as ClientApi['addDecorator'];
|
||||
export const addParameters: ClientApi['addParameters'] = api.clientApi
|
||||
.addParameters as ClientApi['addParameters'];
|
||||
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
|
||||
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;
|
||||
export const forceReRender: ClientApi['forceReRender'] = api.forceReRender;
|
||||
export const getStorybook: ClientApi['getStorybook'] = api.clientApi.getStorybook;
|
||||
export const raw: ClientApi['raw'] = api.clientApi.raw;
|
||||
|
@ -1,8 +1,5 @@
|
||||
import {
|
||||
ClientApi,
|
||||
addDecorator,
|
||||
addParameters,
|
||||
addLoader,
|
||||
addArgs,
|
||||
addArgTypes,
|
||||
addArgsEnhancer,
|
||||
@ -22,11 +19,8 @@ export * from '@storybook/store';
|
||||
export {
|
||||
addArgsEnhancer,
|
||||
addArgTypesEnhancer,
|
||||
addDecorator,
|
||||
addLoader,
|
||||
addArgs,
|
||||
addArgTypes,
|
||||
addParameters,
|
||||
addStepRunner,
|
||||
setGlobalRender,
|
||||
ClientApi,
|
||||
|
@ -29,8 +29,6 @@ export const addDecorator: ClientApi['addDecorator'] = api.clientApi
|
||||
.addDecorator as ClientApi['addDecorator'];
|
||||
export const addParameters: ClientApi['addParameters'] = api.clientApi
|
||||
.addParameters as ClientApi['addParameters'];
|
||||
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
|
||||
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;
|
||||
export const forceReRender: ClientApi['forceReRender'] = api.forceReRender;
|
||||
export const getStorybook: ClientApi['getStorybook'] = api.clientApi.getStorybook;
|
||||
export const raw: ClientApi['raw'] = api.clientApi.raw;
|
||||
|
@ -29,8 +29,6 @@ export const addDecorator: ClientApi['addDecorator'] = api.clientApi
|
||||
.addDecorator as ClientApi['addDecorator'];
|
||||
export const addParameters: ClientApi['addParameters'] = api.clientApi
|
||||
.addParameters as ClientApi['addParameters'];
|
||||
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
|
||||
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;
|
||||
export const forceReRender: ClientApi['forceReRender'] = api.forceReRender;
|
||||
export const getStorybook: ClientApi['getStorybook'] = api.clientApi.getStorybook;
|
||||
export const raw: ClientApi['raw'] = api.clientApi.raw;
|
||||
|
@ -30,8 +30,6 @@ export const addDecorator: ClientApi['addDecorator'] = api.clientApi
|
||||
export type DecoratorFn<TArgs = Args> = DecoratorFunction<ReactFramework, TArgs>;
|
||||
export const addParameters: ClientApi['addParameters'] = api.clientApi
|
||||
.addParameters as ClientApi['addParameters'];
|
||||
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
|
||||
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;
|
||||
export const forceReRender: ClientApi['forceReRender'] = api.forceReRender;
|
||||
export const getStorybook: ClientApi['getStorybook'] = api.clientApi.getStorybook;
|
||||
export const raw: ClientApi['raw'] = api.clientApi.raw;
|
||||
|
@ -31,8 +31,6 @@ export const addDecorator: ClientApi['addDecorator'] = api.clientApi
|
||||
.addDecorator as ClientApi['addDecorator'];
|
||||
export const addParameters: ClientApi['addParameters'] = api.clientApi
|
||||
.addParameters as ClientApi['addParameters'];
|
||||
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
|
||||
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;
|
||||
export const forceReRender: ClientApi['forceReRender'] = api.forceReRender;
|
||||
export const getStorybook: ClientApi['getStorybook'] = api.clientApi.getStorybook;
|
||||
export const raw: ClientApi['raw'] = api.clientApi.raw;
|
||||
|
@ -29,8 +29,6 @@ export const addDecorator: ClientApi['addDecorator'] = api.clientApi
|
||||
.addDecorator as ClientApi['addDecorator'];
|
||||
export const addParameters: ClientApi['addParameters'] = api.clientApi
|
||||
.addParameters as ClientApi['addParameters'];
|
||||
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
|
||||
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;
|
||||
export const forceReRender: ClientApi['forceReRender'] = api.forceReRender;
|
||||
export const getStorybook: ClientApi['getStorybook'] = api.clientApi.getStorybook;
|
||||
export const raw: ClientApi['raw'] = api.clientApi.raw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user