summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-04-09 17:04:00 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-04-09 17:04:00 +0000
commit084845f79d064626d5f5069ce7b945e3b44bdbd7 (patch)
tree12b3c5141fff9cc065be7625eb2b294e76b6e776 /src
parent185a26713322f1a134c432e65b55b4b3325eea9b (diff)
downloadastro-084845f79d064626d5f5069ce7b945e3b44bdbd7.tar.gz
astro-084845f79d064626d5f5069ce7b945e3b44bdbd7.tar.zst
astro-084845f79d064626d5f5069ce7b945e3b44bdbd7.zip
[ci] npm run format
Diffstat (limited to 'src')
-rw-r--r--src/@types/renderer.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/@types/renderer.ts b/src/@types/renderer.ts
index 39998ba24..e8c262b41 100644
--- a/src/@types/renderer.ts
+++ b/src/@types/renderer.ts
@@ -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>;