2acf608f8cd09b2c58122512215ef2075c07b2a83336067013bed72dacaab3ea60b13cfadfc64cd1fe2d74b6892e8576affd57750806c1a23b79b2c2b7d134 613 B

1234567891011121314
  1. /*
  2. * Note that we cannot apply the `internal` tag here because the declaration
  3. * needs to survive the `stripInternal` option. Otherwise, `AnyCatcher` will
  4. * be `any` in the `.d.ts` files.
  5. */
  6. declare const anyCatcherSymbol: unique symbol;
  7. /**
  8. * This is just a type that we're using to identify `any` being passed to
  9. * function overloads. This is used because of situations like {@link forkJoin},
  10. * where it could return an `Observable<T[]>` or an `Observable<{ [key: K]: T }>`,
  11. * so `forkJoin(any)` would mean we need to return `Observable<unknown>`.
  12. */
  13. export type AnyCatcher = typeof anyCatcherSymbol;