diff --git a/src/preact.d.ts b/src/preact.d.ts index 1cfaedb590..a4ce14ece2 100644 --- a/src/preact.d.ts +++ b/src/preact.d.ts @@ -101,16 +101,16 @@ declare namespace preact { abstract render(props?: RenderableProps
, state?: Readonly, context?: any): ComponentChild;
}
- function h
( - node: ComponentFactory
,
- params: Attributes & P | null,
- ...children: ComponentChildren[]
- ): VNode (
+ node: ComponentFactory ,
+ params: Attributes & P | null,
+ ...children: ComponentChildren[]
+ ): VNode