of.d.ts 3.3 KB

123456789101112131415161718192021222324252627282930313233
  1. import { SchedulerLike } from '../types';
  2. import { Observable } from '../Observable';
  3. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  4. export declare function of<T>(a: T, scheduler: SchedulerLike): Observable<T>;
  5. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  6. export declare function of<T, T2>(a: T, b: T2, scheduler: SchedulerLike): Observable<T | T2>;
  7. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  8. export declare function of<T, T2, T3>(a: T, b: T2, c: T3, scheduler: SchedulerLike): Observable<T | T2 | T3>;
  9. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  10. export declare function of<T, T2, T3, T4>(a: T, b: T2, c: T3, d: T4, scheduler: SchedulerLike): Observable<T | T2 | T3 | T4>;
  11. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  12. export declare function of<T, T2, T3, T4, T5>(a: T, b: T2, c: T3, d: T4, e: T5, scheduler: SchedulerLike): Observable<T | T2 | T3 | T4 | T5>;
  13. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  14. export declare function of<T, T2, T3, T4, T5, T6>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, scheduler: SchedulerLike): Observable<T | T2 | T3 | T4 | T5 | T6>;
  15. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  16. export declare function of<T, T2, T3, T4, T5, T6, T7>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, g: T7, scheduler: SchedulerLike): Observable<T | T2 | T3 | T4 | T5 | T6 | T7>;
  17. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  18. export declare function of<T, T2, T3, T4, T5, T6, T7, T8>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, g: T7, h: T8, scheduler: SchedulerLike): Observable<T | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
  19. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  20. export declare function of<T, T2, T3, T4, T5, T6, T7, T8, T9>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, g: T7, h: T8, i: T9, scheduler: SchedulerLike): Observable<T | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
  21. /** @deprecated use {@link scheduled} instead `scheduled([a, b, c], scheduler)` */
  22. export declare function of<T>(...args: (T | SchedulerLike)[]): Observable<T>;
  23. export declare function of<T>(a: T): Observable<T>;
  24. export declare function of<T, T2>(a: T, b: T2): Observable<T | T2>;
  25. export declare function of<T, T2, T3>(a: T, b: T2, c: T3): Observable<T | T2 | T3>;
  26. export declare function of<T, T2, T3, T4>(a: T, b: T2, c: T3, d: T4): Observable<T | T2 | T3 | T4>;
  27. export declare function of<T, T2, T3, T4, T5>(a: T, b: T2, c: T3, d: T4, e: T5): Observable<T | T2 | T3 | T4 | T5>;
  28. export declare function of<T, T2, T3, T4, T5, T6>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6): Observable<T | T2 | T3 | T4 | T5 | T6>;
  29. export declare function of<T, T2, T3, T4, T5, T6, T7>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, g: T7): Observable<T | T2 | T3 | T4 | T5 | T6 | T7>;
  30. export declare function of<T, T2, T3, T4, T5, T6, T7, T8>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, g: T7, h: T8): Observable<T | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
  31. export declare function of<T, T2, T3, T4, T5, T6, T7, T8, T9>(a: T, b: T2, c: T3, d: T4, e: T5, f: T6, g: T7, h: T8, i: T9): Observable<T | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
  32. export declare function of<T>(...args: T[]): Observable<T>;