feat(client): add response handling utilities and tests #341
Annotations
4 errors
Run pnpm build:
packages/client/createClient.ts#L73
Type 'string' is not assignable to type '"delete" | "get" | "put" | "post" | "options" | "head" | "patch" | "trace" | "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT" | "TRACE" | "connect" | undefined'.
|
Run pnpm build:
packages/client/createClient.ts#L74
Type 'string | { readonly [x: number]: string; toString: () => string; charAt: (pos: number) => string; charCodeAt: (index: number) => number; concat: (...strings: string[]) => string; indexOf: (searchString: string, position?: number | undefined) => number; ... 46 more ...; [Symbol.iterator]: () => StringIterator<...>; }' is not assignable to type 'string | undefined'.
|
Run pnpm build:
packages/client/createClient.ts#L97
Argument of type '{ cache?: RequestCache; credentials?: RequestCredentials; integrity?: string; keepalive?: boolean; mode?: RequestMode; priority?: RequestPriority; redirect?: RequestRedirect; referrer?: string; ... 10 more ...; parameters?: Record<string, number | string>; }' is not assignable to parameter of type 'RequestOptions'.
|
Run pnpm build
Process completed with exit code 1.
|
Loading