UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

10 lines (9 loc) 401 B
import type { TName } from '../base/TBase.js'; import { TString, type TStringConstraints } from '../base/TString.js'; export type IPv6 = `${string}:${string}:${string}:${string}:${string}:${string}:${string}:${string}`; export declare class TIPv6 extends TString<IPv6> { static readonly FORMAT: RegExp; constructor(constraints?: TStringConstraints); tName(): TName; example(): IPv6; }