Skip to main content
Module

x/ts_morph/ts_morph.d.ts>ImportTypeNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class ImportTypeNode
extends NodeWithTypeArguments<ts.ImportTypeNode>
import { ImportTypeNode } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Methods

Gets the argument passed into the import type.

Gets the import type assertion container if it exists.

Gets the import type assertion container if it exists or throws.

getParent(): NodeParentType<ts.ImportTypeNode>
getParentOrThrow(): NonNullable<NodeParentType<ts.ImportTypeNode>>
getQualifier(): EntityName | undefined

Gets the qualifier of the import type if it exists or returns undefined.

Gets the qualifier of the import type if it exists or throws

setArgument(text: string): this

Sets the argument text.

setQualifier(text: string): this

Sets the qualifier text.