import { NamedTupleMember } from "https://deno.land/x/ts_morph@16.0.0/ts_morph.d.ts";
A named/labeled tuple element.
Ex. start: number
in type Range = [start: number, end: number]
Methods
getParent(): NodeParentType<ts.NamedTupleMember>
getParentOrThrow(): NonNullable<NodeParentType<ts.NamedTupleMember>>
getTypeNode(): TypeNode<ts.TypeNode>
Gets the named tuple type's type.
removeType(): never
Throws. This is not supported for NamedTupleMember.