Debian Codegraph @

node/rxjs/dist/esm/internal/util/throwUnobservableError.js

raw
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