vue-styleguidist
Version:
Vue components style guide generator
23 lines (22 loc) • 773 B
TypeScript
import { EvaluableComponent } from 'vue-inbrowser-compiler-utils';
interface InjectedParams {
compiledExample: EvaluableComponent;
evalInContext: (code: string) => () => any;
vuex: any;
component: any;
renderRootJsx: any;
enhancePreviewApp: (app: any) => void;
handleError: (e: any) => void;
destroyVueInstance: () => void;
el: HTMLElement;
locallyRegisterComponents: boolean;
moduleId: string;
}
export declare function getCompiledExampleComponent({ compiledExample, evalInContext, vuex, component, renderRootJsx, enhancePreviewApp, handleError, destroyVueInstance, el, locallyRegisterComponents, moduleId }: InjectedParams): {
app: any;
style: undefined;
} | {
app?: undefined;
style?: undefined;
};
export {};