Module

x/ts_morph/mod.ts>TypeOperatorTypeNode

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

Methods

getOperator(): SyntaxKind.KeyOfKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.UniqueKeyword

Gets the operator of the type node.

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

Gets the node within the type operator.