Skip to content

Commit

Permalink
Merge pull request #4767 from storybooks/angular-expose-force-rerender
Browse files Browse the repository at this point in the history
Add missing "forceReRender" and "addParameters"
  • Loading branch information
shilman authored Nov 14, 2018
2 parents 6005742 + 9d01a44 commit f7d2784
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/angular/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ declare module '@storybook/angular' {
export function addParameters(parameters: any): IApi;
export function configure(loaders: () => void, module: NodeModule): void;
export function getStorybook(): IStoribookSection[];
export function forceReRender(): void;
}
1 change: 1 addition & 0 deletions app/angular/src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export {
addParameters,
configure,
getStorybook,
forceReRender,
} from './preview';

export { moduleMetadata } from './preview/angular/decorators';
1 change: 1 addition & 0 deletions app/angular/src/client/preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export function addDecorator(decorator: any): IApi;
export function configure(loaders: () => void, module: NodeModule): void;
export function getStorybook(): IStoribookSection[];
export function clearDecorators(): void;
export function forceReRender(): void;
1 change: 1 addition & 0 deletions app/mithril/src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export {
storiesOf,
setAddon,
addDecorator,
addParameters,
configure,
getStorybook,
forceReRender,
Expand Down
1 change: 1 addition & 0 deletions app/polymer/src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export {
addParameters,
configure,
getStorybook,
forceReRender,
} from './preview';
1 change: 1 addition & 0 deletions app/vue/src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export {
addParameters,
configure,
getStorybook,
forceReRender,
} from './preview';

0 comments on commit f7d2784

Please sign in to comment.