UNPKG

@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) 506 B
import _extends from"babel-runtime/helpers/extends";import _objectWithoutProperties from"babel-runtime/helpers/objectWithoutProperties";import _newArrowCheck from"babel-runtime/helpers/newArrowCheck";import{remove}from"@jumpn/utils-array";var _this=void 0,unobserve=function(e,r){_newArrowCheck(this,_this);var o=e.observers,t=_objectWithoutProperties(e,["observers"]);return _extends({},t,{observers:remove(o.indexOf(r),1,o)})}.bind(void 0);export default unobserve; //# sourceMappingURL=unobserve.js.map