Skip to content

Type Alias: NameCase

ts
type NameCase = "pascalCase" | "camelCase" | "lowercase" | string & object;

Defined in: packages/providers/src/types.ts:195

A required name case: a built-in preset, or a custom regular-expression source string tested against the class name. (string & {}) keeps preset autocomplete while accepting any pattern.

Released under the MIT License