Skip to main content
Module

x/ts_morph/ts_morph.d.ts>BindingElement#getPropertyNameNode

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method BindingElement.prototype.getPropertyNameNode
import { BindingElement } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.d.ts";

Gets binding element's property name node or returns undefined if not found.

For example in const { a: b } = { a: 5 }, a would be the property name.