Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
class ImportAttributes
extends ImportAttributesBase<ts.ImportAttributes>
import { ImportAttributes } from "https://deno.land/x/deno2node@v1.11.0/src/deps.deno.ts";

Methods

Gets the elements of the import attributes.

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

Removes the assert clause.

setElements(elements: ReadonlyArray<OptionalKind<ImportAttributeStructure>>): this

Sets the elements in the import attributes