UNPKG

@inventorjs/api-service

Version:
8 lines (7 loc) 365 B
/** * decorators */ import type { ApiConfig, ClassType } from './types.js'; import { ApiService } from './core.js'; export declare function Service(serviceConfig: ApiConfig): (Cls: ClassType<ApiService>) => void; export declare function Api(apiConfig: ApiConfig): (Cls: ClassType<ApiService>, propertyKey: string, propertyDescriptor: PropertyDescriptor) => void;