test: add type test for HttpResponse.error #857
Annotations
32 errors and 9 warnings
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (5.0)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (4.8)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (4.9)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (5.1)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (4.7)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (5.3)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (5.4)
Process completed with exit code 1.
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L145
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
Property '[bodyType]' is missing in type 'Response' but required in type 'StrictResponse<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:145:34
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L146
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:146:40
|
graphql.test-d.ts > graphql handlers allow error response:
test/typings/graphql.test-d.ts#L147
TypeCheckError: Type 'Response' is not assignable to type 'AsyncResponseResolverReturnType<GraphQLResponseBody<GraphQLQuery>>'.
❯ graphql.test-d.ts:147:27
|
typescript (5.2)
Process completed with exit code 1.
|
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.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/.
|
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 (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 (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/.
|
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.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/.
|
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/.
|