We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f06d1 commit 5e6c8f1Copy full SHA for 5e6c8f1
src/createUseMutation.ts
@@ -35,7 +35,7 @@ export const createUseMutation = (
35
36
const mutationResult = ts.factory.createTypeAliasDeclaration(
37
[ts.factory.createModifier(ts.SyntaxKind.ExportKeyword)],
38
- ts.factory.createIdentifier(`${className}${methodName}MutationResult`),
+ ts.factory.createIdentifier(`${className}${capitalizeFirstLetter(methodName)}MutationResult`),
39
undefined,
40
awaitedResponseDataType
41
);
0 commit comments