throwUnobservableError.js 566 B

12345678
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.createInvalidObservableTypeError = void 0;
  4. function createInvalidObservableTypeError(input) {
  5. 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.");
  6. }
  7. exports.createInvalidObservableTypeError = createInvalidObservableTypeError;
  8. //# sourceMappingURL=throwUnobservableError.js.map