UNPKG

typia

Version:

Superfast runtime validators with only one line

12 lines (9 loc) 262 B
import { _randomString } from "./_randomString"; export const _randomFormatUrl = (): string => `https://${random(10)}.${random(3)}`; const random = (length: number) => _randomString({ type: "string", minLength: length, maxLength: length, });