import { ExportDeclaration } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
Adds a named export.
Adds named exports.
Gets the assert clause or returns undefined if it doesn't exist.
Gets the module specifier or undefined if it doesn't exist.
Gets the source file referenced in the module specifier.
Gets the source file referenced in the module specifier or throws if it can't find it or it doesn't exist.
Gets the module specifier value or undefined if it doesn't exist.
Gets the named exports.
Gets the namespace export or returns undefined if it doesn't exist. (ex. * as ns
, but not *
).
Gets the namespace export or throws if it doesn't exist. (ex. * as ns
, but not *
)
Gets the structure equivalent to this node.
Gets if the module specifier exists
Gets if the export declaration has named exports.
Inserts a named export.
Inserts named exports into the export declaration.
Gets if the module specifier starts with ./
or ../
.
Gets if this export declaration is a namespace export.
Gets if this export declaration is type only.
Removes the module specifier.
Sets the node from a structure.
Sets the elements in an assert clause.
Sets if this export declaration is type only.
Sets the import specifier.
Sets the import specifier.
Sets the namespace export name.
Changes the export declaration to namespace export. Removes all the named exports.