UNPKG

libmodulor

Version:

A TypeScript library to create platform-agnostic applications

12 lines (11 loc) 464 B
import type { TName } from '../base/TBase.js'; import { TString, type TStringConstraints } from '../base/TString.js'; import type { JSONSchemaType } from '../targets/json-schema.js'; export type IPv4 = `${number}.${number}.${number}.${number}`; export declare class TIPv4 extends TString<IPv4> { static readonly FORMAT: RegExp; constructor(constraints?: TStringConstraints); tName(): TName; example(): IPv4; jsonSchemaType(): JSONSchemaType; }