import { ImportDeclaration } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
Adds a named import.
Adds named imports.
Gets the assert clause or returns undefined if it doesn't exist.
Gets the default import or returns undefined if it doesn't exist.
Gets the default import or throws if it doesn't exit.
Gets the import clause or returns undefined if it doesn't exist.
Gets the import clause or throws if it doesn't exist.
Gets the module specifier.
Gets the source file referenced in the module specifier or returns undefined if it can't find it.
Gets the source file referenced in the module specifier or throws if it can't find it.
Gets the module specifier string literal value.
Gets the named imports.
Gets the namespace import identifier, if it exists.
Gets the namespace import if it exists or throws.
Gets the structure equivalent to this node.
Inserts a named import.
Inserts named imports into the import declaration.
Gets if the module specifier starts with ./
or ../
.
Gets if this import declaration is type only.
Removes the default import.
Removes all the named imports.
Removes the namespace import.
Renames or sets the provided default import.
Sets the node from a structure.
Sets the elements in an assert clause.
Sets the default import.
Sets if this import declaration is type only.
Sets the import specifier.
Sets the import specifier.
Sets the namespace import.