Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ImportEqualsDeclaration#setExternalModuleReference

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

Sets the external module reference.

Parameters

externalModuleReference: string
  • External module reference as a string.

Sets the external module reference.

Parameters

sourceFile: SourceFile
  • Source file to set the external module reference to.