mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-06 09:02:09 +08:00
`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