aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js')
-rw-r--r--node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js b/node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js
new file mode 100644
index 0000000..82abb2a
--- /dev/null
+++ b/node_modules/rxjs/dist/cjs/internal/util/throwUnobservableError.js
@@ -0,0 +1,8 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.createInvalidObservableTypeError = void 0;
+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.");
+}
+exports.createInvalidObservableTypeError = createInvalidObservableTypeError;
+//# 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