Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/tsafe/capitalize.ts>capitalize

🔩 The missing TypeScript utils
Go to Latest
function capitalize
import { capitalize } from "https://deno.land/x/tsafe@v1.6.1/capitalize.ts";

Type Parameters

S extends string

Returns

Capitalize<S>