UNPKG

protoobject

Version:

A universal class for creating any JSON objects and simple manipulations with them.

12 lines (11 loc) 304 B
/* eslint-disable @typescript-eslint/no-unused-expressions */ /** * Use this decorator to check the static properties of a class * * Example: `@StaticImplements<ProtoObjectStaticMethods<User>>()` */ export const StaticImplements = () => { return (constructor) => { constructor; }; };