Module

x/ts_morph/ts_morph.d.ts>PropertySignature

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

Methods

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

Gets the structure equivalent to this node.

set(structure: Partial<PropertySignatureStructure>): this

Sets the node from a structure.