a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor(client): simplify promise inference on `ok()`

Mary 1f40e6d8 bd446e41

+1 -1
+1 -1
packages/clients/client/lib/client.ts
··· 417 417 * // ^? ComAtprotoServerDescribeServer.Output 418 418 */ 419 419 export const ok: { 420 - <T extends Promise<UnknownClientResponse>>(promise: T): Promise<ExtractSuccessData<Awaited<T>>>; 420 + <T extends UnknownClientResponse>(promise: Promise<T>): Promise<ExtractSuccessData<T>>; 421 421 <T extends UnknownClientResponse>(response: T): ExtractSuccessData<T>; 422 422 } = (input: Promise<UnknownClientResponse> | UnknownClientResponse): any => { 423 423 if (input instanceof Promise) {