-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Description
I noticed this error when reviewing preact.d.ts in Visual Studio Code (using TypeScript v2.9.2):
Property 'render' in type 'Provider<T>' is not assignable to the same property in base type 'Component<ProviderProps<T>, {}>'.
Type '(props: ProviderProps<T>, {}: {}) => VNode<any>' is not assignable to type '(props?: Readonly<ProviderProps<T> & Attributes & { children?: ComponentChild[] | undefined; ref?...'.
Type 'VNode<any>' is not assignable to type 'Element | null'.
Type 'VNode<any>' is not assignable to type 'Element'.
Property 'type' is missing in type 'VNode<any>'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels