Skip to content

methodsOf

@tsed/core

Usage

typescript
import { methodsOf } from "@tsed/core";

See /packages/core/src/types/utils/objects/methodsOf.ts.

Overview

ts
function methodsOf(target: any): {
    target: Type;
    propertyKey: string;
}[];

Description

Return all methods for a given class.

target

ts
target: Type;

propertyKey

ts
propertyKey: string;

Released under the MIT License.