mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
1.4 KiB
JSON
1 line
1.4 KiB
JSON
|
|
{"ast":null,"code":"import { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeToObservable = obj => subscriber => {\n const obs = obj[Symbol_observable]();\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n } else {\n return obs.subscribe(subscriber);\n }\n};","map":{"version":3,"names":["observable","Symbol_observable","subscribeToObservable","obj","subscriber","obs","subscribe","TypeError"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/rxjs/_esm2015/internal/util/subscribeToObservable.js"],"sourcesContent":["import { observable as Symbol_observable } from '../symbol/observable';\nexport const subscribeToObservable = (obj) => (subscriber) => {\n const obs = obj[Symbol_observable]();\n if (typeof obs.subscribe !== 'function') {\n throw new TypeError('Provided object does not correctly implement Symbol.observable');\n }\n else {\n return obs.subscribe(subscriber);\n }\n};\n"],"mappings":"AAAA,SAASA,UAAU,IAAIC,iBAAiB,QAAQ,sBAAsB;AACtE,OAAO,MAAMC,qBAAqB,GAAIC,GAAG,IAAMC,UAAU,IAAK;EAC1D,MAAMC,GAAG,GAAGF,GAAG,CAACF,iBAAiB,CAAC,CAAC,CAAC;EACpC,IAAI,OAAOI,GAAG,CAACC,SAAS,KAAK,UAAU,EAAE;IACrC,MAAM,IAAIC,SAAS,CAAC,gEAAgE,CAAC;EACzF,CAAC,MACI;IACD,OAAOF,GAAG,CAACC,SAAS,CAACF,UAAU,CAAC;EACpC;AACJ,CAAC"},"metadata":{},"sourceType":"module"}
|