Skip to content

Commit

Permalink
style: add space for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
MoustaphaDev committed Dec 5, 2024
1 parent b457655 commit 7782e89
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lucide-astro/tests/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import type { ComponentProps } from "astro/types"
import type { AstroComponentFactory } from "astro/runtime/server/index.js";

export type RenderFn = <T = PossibleComponentType>(AstroComponent: T, options?: RenderFnOptions<T>) => RenderResult

type RenderFnOptions<T> = T extends AstroComponentVirtualType ? ContainerRenderOptionsWithInferedProps<T> : ContainerRenderOptions

type RenderResult = Promise<{
container: HTMLElement;
html: string;
Expand Down

0 comments on commit 7782e89

Please sign in to comment.