throwUnobservableError.js 356 B

1234
  1. export function createInvalidObservableTypeError(input) {
  2. 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.`);
  3. }
  4. //# sourceMappingURL=throwUnobservableError.js.map