match old API

This commit is contained in:
Andrew Lisowski 2019-09-18 15:36:59 -07:00
parent 374b5e5980
commit ae37d7b4f3
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ export {
storiesOf,
setAddon,
addDecorator,
Decorator,
StoryDecorator,
addParameters,
configure,
getStorybook,

View File

@ -27,7 +27,7 @@ export const storiesOf: ClientApi['storiesOf'] = (kind, m) => {
export const configure: ClientApi['configure'] = (...args) => api.configure(...args, framework);
export const addDecorator: ClientApi['addDecorator'] = api.clientApi.addDecorator;
export type Decorator = Parameters<typeof addDecorator>[0];
export type StoryDecorator = Parameters<typeof addDecorator>[0];
export const addParameters: ClientApi['addParameters'] = api.clientApi.addParameters;
export const clearDecorators: ClientApi['clearDecorators'] = api.clientApi.clearDecorators;
export const setAddon: ClientApi['setAddon'] = api.clientApi.setAddon;