Module

x/ts_morph/mod.ts>IndexedAccessTypeNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class IndexedAccessTypeNode
extends TypeNode<ts.IndexedAccessTypeNode>
import { IndexedAccessTypeNode } from "https://dotland.deno.dev/x/ts_morph@21.0.0/mod.ts";

Methods

Gets the indexed access type node's index type node.

This is "myIndex" in MyObjectType["myIndex"].

Gets the indexed access type node's object type node.

This is MyObjectType in MyObjectType["myIndex"].

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