import { ImportDeclaration } from "https://dotland.deno.dev/x/ts_morph@21.0.0/ts_morph.js";
Methods
addNamedImport(namedImport)
addNamedImports(namedImports)
getDefaultImportOrThrow(message)
getImportClauseOrThrow(message)
getModuleSpecifierSourceFileOrThrow(message)
getNamespaceImportOrThrow(message)
insertNamedImport(index, namedImport)
insertNamedImports(index, namedImports)
renameDefaultImport(text)
set(structure)
setAttributes(elements)
setDefaultImport(text)
setIsTypeOnly(value)
setModuleSpecifier(textOrSourceFile)
setNamespaceImport(text)