postgrelize / ModelClassDecorator
Type Alias: ModelClassDecorator ​
ModelClassDecorator = {(
value,context):void; (constructor):void; }
Defined in: src/decorators/decorator-types.ts:5
Decorator applied to a class. Accepts the TC39 standard call (value, context) and the legacy experimentalDecorators call (constructor).
Call Signature ​
(
value,context):void
Parameters ​
value ​
new (...args) => object
context ​
ClassDecoratorContext
Returns ​
void
Call Signature ​
(
constructor):void
Parameters ​
constructor ​
new (...args) => object
Returns ​
void