Skip to content

Commit 44df0e6

Browse files
authored
fix: never preserve underscores for enum values (#75)
1 parent b8d3ad4 commit 44df0e6

File tree

3 files changed

+50
-13
lines changed

3 files changed

+50
-13
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const getNamedType = (opts: Options<NamedTypeNode>): string | number | boolean =
130130
return `${typenameConverter(foundType.name, opts.enumsPrefix)}.${updateTextCase(
131131
value,
132132
opts.enumValuesConvention,
133-
opts.transformUnderscore,
133+
true,
134134
)}`;
135135
}
136136
case 'union':

0 commit comments

Comments
 (0)