Pass all arguments to configure through in svelte

This commit is contained in:
Tom Coleman 2023-03-09 10:11:57 +11:00
parent 0f95f25a98
commit 87e28117a3
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,6 @@ export const { raw } = clientApi;
const RENDERER = 'ember'; const RENDERER = 'ember';
export const storiesOf = (kind: string, m: any) => export const storiesOf = (kind: string, m: any) =>
clientApi.storiesOf(kind, m).addParameters({ renderer: RENDERER }); clientApi.storiesOf(kind, m).addParameters({ renderer: RENDERER });
export const configure = (loadable: any, m: any) => coreConfigure(RENDERER, loadable, m); export const configure = (...args: any[]) => coreConfigure(RENDERER, ...args);
export { forceReRender }; export { forceReRender };

View File

@ -18,6 +18,6 @@ export const { raw } = clientApi;
const RENDERER = 'svelte'; const RENDERER = 'svelte';
export const storiesOf = (kind: string, m: any) => export const storiesOf = (kind: string, m: any) =>
clientApi.storiesOf(kind, m).addParameters({ renderer: RENDERER }); clientApi.storiesOf(kind, m).addParameters({ renderer: RENDERER });
export const configure = (loadable: any, m: any) => coreConfigure(RENDERER, loadable, m); export const configure = (...args: any[]) => coreConfigure(RENDERER, ...args);
export { forceReRender }; export { forceReRender };