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

Commit

Permalink
Merge pull request #376 from RafalFilipek/RafalFilipek-patch-1
Browse files Browse the repository at this point in the history
Update Observer component definition
  • Loading branch information
mweststrate authored Dec 27, 2017
2 parents daf9bab + 65cc7ab commit a1e05d9
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit a1e05d9

Please sign in to comment.