Skip to main content
Module

x/ts_morph/mod.ts>JSDocTemplateTag#getConstraintOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method JSDocTemplateTag.prototype.getConstraintOrThrow
import { JSDocTemplateTag } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Gets the template tag's constraint if it exists or throws otherwise.

Returns

JSDocTypeExpression