import { ObjectLiteralExpression } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Methods
Adds a get accessor.
Adds get accessors.
Adds a method.
Adds methods.
Adds the specified properties to the object literal expression.
Note: If you only want to add property assignments, then it might be more convenient to use #addPropertyAssignments.
Adds the specified property to the object literal expression.
Note: If you only want to add a property assignment, then it might be more convenient to use #addPropertyAssignment.
Adds a property assignment.
Adds property assignments.
Adds a set accessor.
Adds set accessors.
Adds a shorthand property assignment.
Adds shorthand property assignments.
Adds a spread assignment.
Adds spread assignments.
Gets the properties.
Gets the properties with comment object literal elements.
Gets the first property by the provided name or returns undefined.
Gets the first property that matches the provided find function or returns undefined.
Gets the first property by the provided name or throws.
Gets the first property that matches the provided find function or throws.
Inserts a get accessor at the specified index.
Inserts get accessors at the specified index.
Inserts a method at the specified index.
Inserts methods at the specified index.
Inserts the specified properties to the object literal expression.
Note: If you only want to insert property assignments, then it might be more convenient to use #insertPropertyAssignments.
Inserts the specified property to the object literal expression.
Note: If you only want to insert a property assignment, then it might be more convenient to use #insertPropertyAssignment.
Inserts a property assignment at the specified index.
Inserts property assignments at the specified index.
Inserts a set accessor at the specified index.
Inserts set accessors at the specified index.
Inserts a shorthand property assignment at the specified index.
Inserts shorthand property assignments at the specified index.
Inserts a spread assignment at the specified index.
Inserts spread assignments at the specified index.