UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

12 lines (11 loc) 520 B
import type { TName } from '../base/TBase.js'; import { TString, type TStringConstraints } from '../base/TString.js'; import type { PersonFirstname } from './TPersonFirstname.js'; import type { PersonLastname } from './TPersonLastname.js'; export type PersonFullname = `${PersonFirstname} ${PersonLastname}`; export declare class TPersonFullname extends TString<PersonFullname> { static readonly FORMAT: RegExp; constructor(constraints?: TStringConstraints); tName(): TName; example(): PersonFullname; }