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

Gets the object assignment initializer or throws if it doesn't exist.

Parameters

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

Returns

Expression<ts.Expression>