Skip to content

Commit

Permalink
chore: remove author
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangpaopao0609 committed Feb 4, 2025
1 parent e6835cc commit 6772d6c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* @param B 字符串的分隔符,默认为 '_'
* @example CamelCase<'a_b_c'> -> aBC
* @example CamelCase<'a-b-c', '-'> -> aBC
* @author zhangpaopao0609
*/
export type CamelCase<S extends string, B extends string = '_'> = S extends Lowercase<S>
? S extends `${infer F}${B}${infer RF}${infer R}`
Expand Down

0 comments on commit 6772d6c

Please sign in to comment.