import { ImportSpecifier } from "https://dotland.deno.dev/x/ts_morph@15.1.0/ts_morph.d.ts";
Methods
getParent(): NodeParentType<ts.ImportSpecifier>
getParentOrThrow(): 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.