import { ImportSpecifier } from "https://dotland.deno.dev/x/ts_morph@20.0.0/ts_morph.d.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.