UNPKG

pricing4ts

Version:

![NPM Version](https://img.shields.io/npm/v/pricing4ts) Pricing4TS is a TypeScript-based toolkit designed to enhance the server-side functionality of a pricing-driven SaaS by enabling the seamless integration of pricing plans into the application logic. T

12 lines (11 loc) 406 B
export type ClassMethodDecoratorContextType = { kind: 'method'; name: string | symbol; access: { get(object: unknown): unknown; }; static: boolean; private: boolean; addInitializer(initializer: () => void): void; }; export declare function PricingAware(featureName: string): (target: any, context: ClassMethodDecoratorContextType) => (this: any, ...args: any[]) => any;