frontend/.pnpm-store/v3/files/53/2acf608f8cd09b2c58122512215ef2075c07b2a83336067013bed72dacaab3ea60b13cfadfc64cd1fe2d74b6892e8576affd57750806c1a23b79b2c2b7d134

15 lines
613 B
Plaintext

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