Skip to content

Commit

Permalink
Add renderToNodeList type #868 (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
295 authored Mar 25, 2021
1 parent 9898b15 commit f8e328d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/inferno-fela/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -498,4 +498,5 @@ declare module "inferno-fela" {

export function fe (): Function;

export function renderToNodeList(renderer: IRenderer): Inferno.VNode[]
}
2 changes: 2 additions & 0 deletions packages/preact-fela/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2074,5 +2074,7 @@ declare module "preact-fela" {
renderer: IRenderer;
}

export function renderToNodeList(renderer: IRenderer): Preact.VNode[]

export function useFela<T = {}, P = {}>(props?: P): FelaHookProps<T, P>;
}
2 changes: 2 additions & 0 deletions packages/react-fela/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -583,5 +583,7 @@ declare module "react-fela" {

export function useFela<T = {}, P = {}>(props?: P): FelaHookProps<T, P>

export function renderToNodeList(renderer: IRenderer): React.ReactElement[]

export const fe: typeof React.createElement;
}

1 comment on commit f8e328d

@vercel
Copy link

@vercel vercel bot commented on f8e328d Mar 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.