import { TypeParameter } from "https://dotland.deno.dev/x/ts_morph@17.0.1/mod.ts";
Methods
getConstraintOrThrow(message?: string | (() => string)): Type
Gets the constraint or throws if it doesn't exist.
getDefaultOrThrow(message?: string | (() => string)): Type
Gets the default type or throws if it doesn't exist.