UNPKG

@goatlab/fluent

Version:

Readable query Interface & API generator for TS and Node

18 lines (17 loc) 535 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.applyDecorators = void 0; function applyDecorators(...decorators) { return (target, propertyKey, descriptor) => { for (const decorator of decorators) { if (target instanceof Function && !descriptor) { ; decorator(target); continue; } ; decorator(target, propertyKey, descriptor); } }; } exports.applyDecorators = applyDecorators;