Module

x/ts_morph/ts_morph.d.ts>Type#getPropertyOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method Type.prototype.getPropertyOrThrow
import { Type } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts";

Gets a property or throws if it doesn't exist.

Parameters

name: string
  • By a name.

Gets a property or throws if it doesn't exist.

Parameters

findFunction: (declaration: Symbol) => boolean
  • Function for searching for a property.