method Type.prototype.getPropertyOrThrowimport { Type } from "https://deno.land/x/ts_morph@22.0.0/mod.ts"; getPropertyOrThrow(name: string): SymbolGets a property or throws if it doesn't exist. getPropertyOrThrow(findFunction: (declaration: Symbol) => boolean): SymbolGets a property or throws if it doesn't exist. Gets a property or throws if it doesn't exist. Parametersname: string By a name. ReturnsSymbolGets a property or throws if it doesn't exist. ParametersfindFunction: (declaration: Symbol) => boolean Function for searching for a property. ReturnsSymbol