mirror of
https://github.com/ReVanced/revanced-bots.git
synced 2026-01-19 01:03:58 +00:00
feat(packages): add shared package
This commit is contained in:
3
packages/shared/src/utils/string.ts
Executable file
3
packages/shared/src/utils/string.ts
Executable file
@@ -0,0 +1,3 @@
|
||||
export function uncapitalize<T extends string>(str: T): Uncapitalize<T> {
|
||||
return str.charAt(0).toLowerCase() + str.slice(1) as Uncapitalize<T>
|
||||
}
|
||||
Reference in New Issue
Block a user