diff --git a/src/core/generators/query.ts b/src/core/generators/query.ts index c84f83028..c9a4be605 100644 --- a/src/core/generators/query.ts +++ b/src/core/generators/query.ts @@ -559,8 +559,8 @@ const generateQueryHook = ( return ` export type ${pascal( operationName, - )}QueryData = NonNullable> - export type ${pascal(operationName)}QueryError = ${errorType} + )}MutationData = NonNullable> + export type ${pascal(operationName)}MutationError = ${errorType} export const ${camel(`use-${operationName}`)} =