Skip to main content
Module

x/ts_morph/mod.ts>ShorthandPropertyAssignment#getEqualsTokenOrThrow

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

Gets the equals token or throws if it doesn't exist.

Parameters

optional
message: string | (() => string)

Returns

Node<ts.EqualsToken>