import { ShorthandPropertyAssignment } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";
Methods
Gets the equals token if it exists.
Gets the equals token or throws if it doesn't exist.
Gets the object assignment initializer if it exists.
Gets the object assignment initializer or throws if it doesn't exist.
Gets the structure equivalent to this node.
Gets the shorthand assignment value symbol of this node if it exists. Convenience API for TypeChecker#getShorthandAssignmentValueSymbol(node)
Gets the value symbol or throws if it doesn't exist.
Gets if the shorthand property assignment has an object assignment initializer.
Remove the object assignment initializer.
This is only useful to remove bad code.
Sets the node from a structure.
Sets the initializer.
Note: The current node will no longer be valid because it's no longer a shorthand property assignment.