aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js')
-rw-r--r--node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js b/node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js
new file mode 100644
index 0000000..dedd667
--- /dev/null
+++ b/node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js
@@ -0,0 +1,4 @@
+export function createInvalidObservableTypeError(input) {
+ return new TypeError(`You provided ${input !== null && typeof input === 'object' ? 'an invalid object' : `'${input}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`);
+}
+//# sourceMappingURL=throwUnobservableError.js.map \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage