Skip to main content
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://deno.land/x/ts_morph@15.1.0/mod.ts";

Methods

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

Gets the operator of the type node.

getParent(): NodeParentType<ts.TypeOperatorNode>
getParentOrThrow(): NonNullable<NodeParentType<ts.TypeOperatorNode>>
getTypeNode(): TypeNode

Gets the node within the type operator.