import { TypeParameterDeclaration } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.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>>