Added missing Options
from @hey-api/client-fetch
#371
Annotations
11 errors
|
Run tsc in react-app
Argument of type '{ query?: (Record<string, unknown> & { limit?: number | undefined; tags?: string[] | undefined; }) | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; ... 21 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; } & FindPetsData'.
|
Run tsc in react-app
Argument of type '{ query?: Record<string, unknown> | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | ... 4 more ... | undefined; ... 20 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; }'.
|
Run tsc in react-app
Argument of type '{ query?: Record<string, unknown> | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | ... 4 more ... | undefined; ... 20 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; } & FindPetByIdData'.
|
Run tsc in react-app
Argument of type '{ query?: (Record<string, unknown> & { limit?: number | undefined; page?: number | undefined; tags?: string[] | undefined; }) | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; ... 21 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; } & FindPaginatedPetsData'.
|
Run tsc in react-app
Argument of type 'OmitKeys<OptionsBase<true>, "body"> & import("/Users/runner/work/openapi-react-query-codegen/openapi-react-query-codegen/examples/react-app/openapi/requests/types.gen").AddPetData & Pick<...>' is not assignable to parameter of type 'OmitKeys<OptionsBase<true>, "body"> & import("/Users/runner/work/openapi-react-query-codegen/openapi-react-query-codegen/examples/react-app/openapi/requests/types.gen").AddPetData & Pick<...>'.
|
Run tsc in react-app
Argument of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client<Request, Response, unknown, RequestOptions> | undefined; }' is not assignable to parameter of type '(Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; }) | undefined'.
|
Run tsc in react-app
Argument of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client<Request, Response, unknown, RequestOptions> | undefined; } & DeletePetData' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; } & DeletePetData'.
|
Run tsc in react-app
Argument of type '{ query?: (Record<string, unknown> & { limit?: number | undefined; tags?: string[] | undefined; }) | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; ... 21 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; } & FindPetsData'.
|
Run tsc in react-app
Argument of type '{ query?: Record<string, unknown> | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | ... 4 more ... | undefined; ... 20 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; }'.
|
Run tsc in react-app
Argument of type '{ query?: Record<string, unknown> | undefined; headers?: Record<string, unknown> | HeadersInit | undefined; method?: "CONNECT" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | ... 4 more ... | undefined; ... 20 more ...; client?: Client<...> | undefined; }' is not assignable to parameter of type 'Omit<RequestOptionsBase<true>, "url"> & { client?: Client | undefined; } & FindPetByIdData'.
|
Loading