import { MappedTypeNode } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";
Methods
getNameTypeNode(): TypeNode | undefined
Gets the mapped type node's name type node if any.
getNameTypeNodeOrThrow(message?: string | (() => string)): TypeNode
Gets the mapped type node's name type node or throws if it doesn't exist.
getParent(): NodeParentType<ts.MappedTypeNode>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.MappedTypeNode>>
Gets the mapped type's question token.
getQuestionTokenOrThrow(message?: string | (() => string)): Node<ts.QuestionToken> | Node<ts.PlusToken> | Node<ts.MinusToken>
Gets the mapped type's question token or throws if not exist.
Gets the mapped type's readonly token.
getReadonlyTokenOrThrow(message?: string | (() => string)): Node<ts.ReadonlyKeyword> | Node<ts.PlusToken> | Node<ts.MinusToken>
Gets the mapped type's readonly token or throws if not exist.
getTypeNode(): TypeNode | undefined
Gets the mapped type node's type node if it exists or returns undefined when not.
getTypeNodeOrThrow(message?: string | (() => string)): TypeNode
Gets the mapped type node's type node if it exists or throws when undefined.
Gets the mapped type node's type parameter.