feat: init
This commit is contained in:
4
node_modules/nitropack/dist/presets/cloudflare/wrangler/_utils.d.ts
generated
vendored
Normal file
4
node_modules/nitropack/dist/presets/cloudflare/wrangler/_utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
type PascalCase<S extends string> = string extends S ? string : S extends `${infer T}-${infer U}` ? `${Capitalize<T>}${PascalCase<U>}` : Capitalize<S>;
|
||||
type CamelCase<S extends string> = string extends S ? string : S extends `${infer T}-${infer U}` ? `${T}${PascalCase<U>}` : S;
|
||||
export type CamelCaseKey<K extends PropertyKey> = K extends string ? Exclude<CamelCase<K>, ""> : K;
|
||||
export {};
|
||||
Reference in New Issue
Block a user