Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ExportAssignment

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class ExportAssignment
extends ExportAssignmentBase<ts.ExportAssignment>
import { ExportAssignment } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Methods

getParent(): NodeParentType<ts.ExportAssignment>
getParentOrThrow(): NonNullable<NodeParentType<ts.ExportAssignment>>
getStructure(): ExportAssignmentStructure

Gets the structure equivalent to this node.

isExportEquals(): boolean

Gets if this is an export equals assignment.

If this is false, then it's export default.

set(structure: Partial<ExportAssignmentStructure>): this

Sets the node from a structure.

setIsExportEquals(value: boolean): this

Sets if this is an export equals assignment or export default.