wishthis/node_modules/rxjs/dist/esm5/internal/util/throwUnobservableError.js

4 lines
368 B
JavaScript
Raw Normal View History

2022-04-07 07:06:43 +00:00
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