import { TypeParameterDeclaration } from "https://dotland.deno.dev/x/ts_morph@15.1.0/mod.ts";
Methods
getConstraintOrThrow(): TypeNode<ts.TypeNode>
Gets the constraint of the type parameter or throws if it doesn't exist.
getDefaultOrThrow(): TypeNode<ts.TypeNode>
Gets the default node of the type parameter or throws if it doesn't exist.
getParent(): NodeParentType<ts.TypeParameterDeclaration>
getParentOrThrow(): NonNullable<NodeParentType<ts.TypeParameterDeclaration>>