import { ImportSpecifier } from "https://dotland.deno.dev/x/ts_morph@18.0.0/mod.ts";
Methods
getParent(): NodeParentType<ts.ImportSpecifier>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ImportSpecifier>>
removeAliasWithRename(): this
Removes the alias and renames any usages to the name of the import specifier.
renameAlias(alias: string): this
Sets the alias for the name being imported and renames all the usages.