[ci] npm run format

This commit is contained in:
matthewp 2021-04-09 17:04:00 +00:00 committed by GitHub Actions
parent 185a267133
commit 084845f79d

View file

@ -20,9 +20,11 @@ export interface ComponentContext {
root: string;
}
export type SupportedComponentRenderer = ComponentRenderer<VueComponent> |
ComponentRenderer<PreactComponent> | ComponentRenderer<ReactComponent> |
ComponentRenderer<SvelteComponent>;
export type SupportedComponentRenderer =
| ComponentRenderer<VueComponent>
| ComponentRenderer<PreactComponent>
| ComponentRenderer<ReactComponent>
| ComponentRenderer<SvelteComponent>;
export type StaticRenderer = (props: Record<string, any>, ...children: any[]) => Promise<string>;
export type StaticRendererGenerator<T = any> = (Component: T) => StaticRenderer;
export type DynamicRenderer = (props: Record<string, any>, ...children: any[]) => Promise<string>;