Skip to content

test: add type test for HttpResponse.error #865

test: add type test for HttpResponse.error

test: add type test for HttpResponse.error #865

Triggered via pull request May 25, 2024 07:07
Status Failure
Total duration 1m 3s
Artifacts

compat.yml

on: pull_request
Matrix: typescript
Fit to window
Zoom out
Zoom in

Annotations

27 errors and 9 warnings
typescript (5.1): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (5.1): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (5.1)
Process completed with exit code 1.
typescript (5.0): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (5.0): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (5.0)
Process completed with exit code 1.
typescript (4.7): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (4.7): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (4.7)
Process completed with exit code 1.
typescript (4.9): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (4.9): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (4.9)
Process completed with exit code 1.
typescript (4.8): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (4.8): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (4.8)
Process completed with exit code 1.
exports: src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
exports: src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
exports
Process completed with exit code 1.
typescript (5.2): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (5.2): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (5.2)
Process completed with exit code 1.
typescript (5.3): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (5.3): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (5.3)
Process completed with exit code 1.
typescript (5.4): src/core/graphql.ts#L59
Argument of type 'GraphQLResponseResolver<[Query] extends [never] ? GraphQLQuery : Query, Variables>' is not assignable to parameter of type 'ResponseResolver<GraphQLResolverExtras<any>, any, any>'.
typescript (5.4): src/core/http.ts#L42
Argument of type 'HttpResponseResolver<Params, RequestBodyType, ResponseBodyType>' is not assignable to parameter of type 'ResponseResolver<HttpRequestResolverExtras<any>, any, any>'.
typescript (5.4)
Process completed with exit code 1.
typescript (5.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (5.0)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (4.7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (4.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (4.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
exports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (5.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (5.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
typescript (5.4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.