UNPKG

typeas

Version:

Library for checking data values and type safety

8 lines (5 loc) 332 B
import type { EnumCheckerCustomEnum } from "../expansions/enum"; import type { CreateExpression } from "../factories/expression"; type EnumCustomArg = keyof EnumCheckerCustomEnum; type EnumValidatorArg = `${string}|${string}` | EnumCustomArg; export type EnumExpression = CreateExpression<"enum", [EnumValidatorArg | ""]>;