Skip to main content
Go to Latest
method ShorthandPropertyAssignment.prototype.getEqualsTokenOrThrow
import { ShorthandPropertyAssignment } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

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

Parameters

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

Returns

Node<ts.EqualsToken>