Skip to main content
Module

x/ts_morph/mod.ts>IndexedAccessTypeNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
class IndexedAccessTypeNode
extends TypeNode<ts.IndexedAccessTypeNode>
import { IndexedAccessTypeNode } from "https://deno.land/x/ts_morph@22.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>>