Skip to main content
Module

x/froebel/types.ts>CamelCase

A strictly typed utility library.
Go to Latest
type alias CamelCase
import { type CamelCase } from "https://deno.land/x/froebel@v0.22.0/types.ts";

Type Parameters

T extends string
definition: T extends `_${infer R}` ? `_${CamelCase<R>}` : T extends `-${infer R}` ? `-${CamelCase<R>}` : _Camel<Uncapitalize<T>>