Skip to main content
Module

x/ts_morph/mod.ts>ImportSpecifier#renameAlias

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ImportSpecifier.prototype.renameAlias
import { ImportSpecifier } from "https://deno.land/x/ts_morph@15.1.0/mod.ts";

Sets the alias for the name being imported and renames all the usages.

Parameters

alias: string
  • Alias to set.