Skip to content

getInheritedClass

@tsed/core

Usage

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

See /packages/core/src/utils/ancestorOf.ts.

Overview

ts
function getInheritedClass(target: any): any;

Description

Returns the inherited class (ancestor) of the given target.

An alias for {@link ancestorOf}.

Released under the MIT License.