DefinitelyTyped/react-relay
Matt Martin d0c8f10aa1 Adding onReadyStateChange callback to setVariables
`this.props.relay.setVariables` takes an optional callback that's not currently represented in the types. Just adding that.

See this answer on StackOverflow for a high-level overview:
http://stackoverflow.com/questions/35471836/loading-indicator-after-this-props-relay-setvariables-triggered-fetch

And the docs have more detailed information about what the callback provides:
https://facebook.github.io/relay/docs/guides-ready-state.html
2016-12-08 09:31:32 -08:00
..
index.d.ts Adding onReadyStateChange callback to setVariables 2016-12-08 09:31:32 -08:00
react-relay-test.tsx
tsconfig.json Use index.d.ts only (not foo/foo.d.ts) (#12834) 2016-11-21 12:58:06 -08:00