Kargi-Sitesi/.angular/cache/18.2.11/babel-webpack/1db4380089a742857b968f23f24d881c6bce2dd5edaf6473cae819d07a975ef4.json

1 line
1.5 KiB
JSON
Raw Normal View History

2024-11-04 02:30:09 +00:00
{"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":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/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","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}