Skip to content

Commit 64129c1

Browse files
fix: ensure nitro property is required in graphqlModule function signature
1 parent 096d81d commit 64129c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nitro/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export * from './types'
4747
* })
4848
* ```
4949
*/
50-
function graphqlModule(options?: NitroGraphQLOptions): Plugin & { nitro?: NitroModule } {
50+
function graphqlModule(options?: NitroGraphQLOptions): Plugin & { nitro: NitroModule } {
5151
return {
5252
name: 'nitro-graphql',
5353
enforce: 'pre', // Run before other plugins to prevent Vite from transforming GraphQL files

0 commit comments

Comments
 (0)