honojs-middleware/packages/graphql-server/src
koralle 989d968795
fix(graphql-server): enhance type safety of RootResolvers and Options (#201)
* fix(graphql-server): enhance type safety of RootResolvers and Options

This commit introduces more specific type annotations to the following modules:
* RootResolvers
* Options

Specifically, the same type parameters used in the definition of `Context` class were given to them:

```ts
<E extends Env = any, P extends string = any, I extends Input = {}>
```

* chore: run `changeset`
2023-10-19 07:16:11 +09:00
..
index.ts fix(graphql-server): enhance type safety of RootResolvers and Options (#201) 2023-10-19 07:16:11 +09:00
parse-body.ts Add 'packages/graphql-server/' from commit 'c7e949b0f93954d44c3c7f15564dd9e3ce8ad709' 2023-02-04 11:26:47 +09:00
replacer.ts Add 'packages/graphql-server/' from commit 'c7e949b0f93954d44c3c7f15564dd9e3ce8ad709' 2023-02-04 11:26:47 +09:00