Skip to main content
Module

x/deno2node/src/deps.deno.ts>ImportAttribute

Compile your Deno project to run on Node.js.
Latest
class ImportAttribute
extends ImportAttributeBase<ts.ImportAttribute>
import { ImportAttribute } from "https://deno.land/x/deno2node@v1.12.0/src/deps.deno.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.