Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm2015 / internal / operators / startWith.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/operators/startWith.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm2015/internal/operators/startWith.js
new file mode 100644 (file)
index 0000000..a9a7c27
--- /dev/null
@@ -0,0 +1,13 @@
+import { concat } from '../observable/concat';
+import { isScheduler } from '../util/isScheduler';
+export function startWith(...array) {
+    const scheduler = array[array.length - 1];
+    if (isScheduler(scheduler)) {
+        array.pop();
+        return (source) => concat(array, source, scheduler);
+    }
+    else {
+        return (source) => concat(array, source);
+    }
+}
+//# sourceMappingURL=startWith.js.map
\ No newline at end of file