UNPKG

lib-utils-ts

Version:

<img src="https://img.shields.io/npm/v/lib-utils-ts"/> <img src="https://img.shields.io/snyk/vulnerabilities/npm/lib-utils-ts"/> <img src="https://img.shields.io/npm/l/lib-utils-ts"/> <img src="https://img.shields.io/github/languages/top/devGnode/lib-util

16 lines 521 B
import {Constructor} from "../Constructor"; import {flombok} from "../flombok"; /*** * @Functions : Proxy class, allow to extend the prototype * of the native Object. Dont forget to implement your * method in global interface ObjectConstructor, Location * of this interface is in Interfaces.ts */ export abstract class Functions extends Function{ /*** * */ @flombok.ENUMERABLEFUNC(false) public class<T extends Object>(): Constructor<T>{return new Constructor<T>(this);} } Object.package(this);