hugoWebsite/node_modules/rxjs/dist/esm/internal/util/throwUnobservableError.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

4 lines
No EOL
356 B
JavaScript

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