Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>ExportAssignment

Compile your Deno project to run on Node.js.
Go to Latest
class ExportAssignment
extends ExportAssignmentBase<ts.ExportAssignment>
import { ExportAssignment } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Methods

getParent(): NodeParentType<ts.ExportAssignment>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ExportAssignment>>

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.