UNPKG

smart-types-ts

Version:

A collection of _Smart Types_ and _Smart Constructors_ which enable you to be more strict when defining your application's important types/interfaces.

12 lines (11 loc) 707 B
export { ArrayWithLength, mkArrayWithLength } from "./array/arrayWithLength"; export { Int, mkInt } from "./number/int"; export { NegativeNum, mkNegativeNum } from "./number/negativeNum"; export { NumInRange, mkNumInRange } from "./number/numInRange"; export { PositiveInt, mkPositiveInt } from "./number/positiveInt"; export { PositiveNum, mkPositiveNum } from "./number/positiveNum"; export { EmailAddress, mkEmailAddress } from "./string/emailAddress"; export { StringWithLength, mkStringWithLength } from "./string/stringWithLength"; export { URL, mkURL } from "./string/url"; export { mkSmartObject } from "./mkSmartObject"; export { SmartConstructor, SmartType, SmartTypeRefined } from "./utilTypes";