feat(#2056)!: support Pinia Colada #2078
Annotations
11 errors
|
Run pnpm test
Type 'Init' does not satisfy the constraint 'Response["data"] | undefined'.
|
Run pnpm test
Type 'MaybeRef<Method>' does not satisfy the constraint 'HttpMethod'.
|
Run pnpm test
Type 'UseQueryReturn<FetchResponse<Paths[PathsWithMethod<Paths, MaybeRef<Method>>][MaybeRef<Method>], MaybeOptionalInit<Paths[PathsWithMethod<Paths, MaybeRef<...>>], MaybeRef<...>>, Media>, Response["error"], FetchResponse<...> | undefined>' is not assignable to type 'UseQueryReturn<Response["data"], Response["error"], Init>'.
|
Run pnpm test
Type 'Init & { [key: string]: unknown; }' is not assignable to type 'EntryNodeKey | _ObjectFlat'.
|
Run pnpm test
Argument of type 'PathsWithMethod<Paths, Method>' is not assignable to parameter of type 'PathsWithMethod<Paths, MaybeRef<Method>>'.
|
Run pnpm test
Type 'MaybeRef<Method>' does not satisfy the constraint 'HttpMethod'.
|
Run pnpm test
Type 'UseMutationReturn<FetchResponse<Paths[PathsWithMethod<Paths, MaybeRef<Method>>][MaybeRef<Method>], MaybeOptionalInit<Paths[PathsWithMethod<Paths, MaybeRef<...>>], MaybeRef<...>>, Media>, Vars, Response["error"]>' is not assignable to type 'UseMutationReturn<Response["data"], Vars, Response["error"]>'.
|
Run pnpm test
Argument of type '{ onMutate?: ((vars: NoInfer<Response["error"]>, context: UseMutationGlobalContext) => _Awaitable<void | _EmptyObject | null | undefined>) | undefined; onSuccess?: ((data: NoInfer<Response["data"]>, vars: NoInfer<Response["error"]>, context: UseMutationGlobalContext & _EmptyObject) => unknown) | undefined; onError?:...' is not assignable to parameter of type 'UseMutationOptions<FetchResponse<Paths[PathsWithMethod<Paths, MaybeRef<Method>>][MaybeRef<Method>], MaybeOptionalInit<Paths[PathsWithMethod<Paths, MaybeRef<...>>], MaybeRef<...>>, Media>, Vars, Response["error"], _EmptyObject>'.
|
Run pnpm test
Argument of type 'PathsWithMethod<Paths, Method>' is not assignable to parameter of type 'PathsWithMethod<Paths, MaybeRef<Method>>'.
|
Run pnpm test
openapi-pinia-colada#build: command (/home/runner/work/openapi-typescript/openapi-typescript/packages/openapi-pinia-colada) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
|
Loading