Kargi-Sitesi/.angular/cache/18.2.11/babel-webpack/715d3048a093a7a4caf6440bd6ba475bc381ed7f78589a0f18d0b0a672fd211e.json

1 line
1.5 KiB
JSON
Raw Permalink Normal View History

2024-10-31 19:07:58 +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":[]}