@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
3 lines (2 loc) • 514 B
JavaScript
import _newArrowCheck from"babel-runtime/helpers/newArrowCheck";import{replace}from"@jumpn/utils-array";import{hasIn}from"@jumpn/utils-composite";var _this$1=void 0,findIndex=function(r,e,i){return _newArrowCheck(this,_this$1),r.findIndex(hasIn([e],i))}.bind(void 0),_this=void 0,refresh=function(r){return _newArrowCheck(this,_this),function(e){return _newArrowCheck(this,_this),replace(findIndex(e,"request",r.request),[r],e)}.bind(this)}.bind(void 0);export default refresh;
//# sourceMappingURL=refresh.js.map