import { BindingElement } from "https://deno.land/x/ts_morph@21.0.1/ts_morph.d.ts";
Gets binding element's property name node or throws if not found.
For example in const { a: b } = { a: 5 }
, a
would be the property name.
x/ts_morph/ts_morph.d.ts>BindingElement#getPropertyNameNodeOrThrow
import { BindingElement } from "https://deno.land/x/ts_morph@21.0.1/ts_morph.d.ts";
Gets binding element's property name node or throws if not found.
For example in const { a: b } = { a: 5 }
, a
would be the property name.