Skip to content

Commit 4be0169

Browse files
authored
Lint fix (#788)
1 parent cf08b98 commit 4be0169

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/app/universal-ts-utils/src/public/object/transformToKebabCase.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type TransformToKebabCaseInputType = Record<string, unknown> | null | undefined
2-
type TransformToKebabCaseReturnType<Input, Output> = Input extends Record<string, unknown>
3-
? Output
4-
: Input
2+
type TransformToKebabCaseReturnType<Input, Output> =
3+
Input extends Record<string, unknown> ? Output : Input
54

65
/**
76
* Transforms the keys of an object or array of objects from camelCase or snake_case to kebab-case.

0 commit comments

Comments
 (0)