Files
pyrofetes-frontend/node_modules/@angular/cdk/fesm2022/coercion/private.mjs.map
CHEVALLIER Abel cb235644dc init
2025-11-13 16:23:22 +01:00

1 line
980 B
Plaintext
Executable File

{"version":3,"file":"private.mjs","sources":["../../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/cdk/coercion/private/observable.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\nimport {Observable, isObservable, of as observableOf} from 'rxjs';\n\n/**\n * Given either an Observable or non-Observable value, returns either the original\n * Observable, or wraps it in an Observable that emits the non-Observable value.\n */\nexport function coerceObservable<T>(data: T | Observable<T>): Observable<T> {\n if (!isObservable(data)) {\n return observableOf(data);\n }\n return data;\n}\n"],"names":["observableOf"],"mappings":";;AASA;;;AAGG;AACG,SAAU,gBAAgB,CAAI,IAAuB,EAAA;AACzD,IAAA,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE;AACvB,QAAA,OAAOA,EAAY,CAAC,IAAI,CAAC;;AAE3B,IAAA,OAAO,IAAI;AACb;;;;"}