Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Update Observer component definition #376

Merged
merged 1 commit into from
Dec 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function onError(cb: (error: Error) => void): () => void

export class Provider extends React.Component<any, {}> {}

export class Observer extends React.Component<{ children?: () => React.ReactElement<any> }, {}> {}
export class Observer extends React.Component<{ children?: () => React.ReactNode }, {}> {}

export function useStaticRendering(value: boolean): void

Expand Down