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 | - ComponentRenderer | ComponentRenderer | - ComponentRenderer; +export type SupportedComponentRenderer = + | ComponentRenderer + | ComponentRenderer + | ComponentRenderer + | ComponentRenderer; export type StaticRenderer = (props: Record, ...children: any[]) => Promise; export type StaticRendererGenerator = (Component: T) => StaticRenderer; export type DynamicRenderer = (props: Record, ...children: any[]) => Promise;