import { TypeParameter } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
getConstraint(): Type | undefined
Gets the constraint type.
getConstraintOrThrow(message?: string | (() => string)): Type
Gets the constraint or throws if it doesn't exist.
getDefault(): Type | undefined
Gets the default type or undefined if it doesn't exist.
getDefaultOrThrow(message?: string | (() => string)): Type
Gets the default type or throws if it doesn't exist.