Skip to main content
Module

x/ts_morph/mod.ts>ImportAttribute

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class ImportAttribute
extends ImportAttributeBase<ts.ImportAttribute>
import { ImportAttribute } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";

Methods

getParent(): NodeParentType<ts.ImportAttribute>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ImportAttribute>>

Gets the structure equivalent to this node.

Gets the value of the assert entry.

set(structure: Partial<ImportAttributeStructure>): this

Sets the name and value.