Skip to content

Commit

Permalink
Update react-redux.d.ts (DefinitelyTyped#9103)
Browse files Browse the repository at this point in the history
* Update react-redux.d.ts

Options should be optional, added missing withRef option 
https://github.com/reactjs/react-redux/blob/253ce8b3068d9d9bfe55f70a6f18a5fde313b326/src/components/connect.js#L49

* Update react-redux.d.ts
  • Loading branch information
mythz authored and vvakame committed May 1, 2016
1 parent b13fb54 commit 0b96933
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion react-redux/react-redux.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,12 @@ declare module "react-redux" {
* Defaults to true.
* @default true
*/
pure: boolean;
pure?: boolean;
/**
* If true, stores a ref to the wrapped component instance and makes it available via
* getWrappedInstance() method. Defaults to false.
*/
withRef?: boolean;
}

export interface ProviderProps {
Expand Down

0 comments on commit 0b96933

Please sign in to comment.