Skip to main content
Module

x/ts_morph/ts_morph.d.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://deno.land/x/ts_morph@15.1.0/ts_morph.d.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(): NonNullable<NodeParentType<ts.IndexedAccessTypeNode>>