sardines-compile-time-tools
Version:
sardines.compile-time-tools.js is part of the sardines.io project
18 lines • 625 B
TypeScript
import { IdentifierSyntax } from './parser';
export declare const genProxyCode: (appName: string, item: IdentifierSyntax, serviceInfo: Service) => string;
export interface Argument {
name: string;
type: string;
default?: string;
}
export interface Service {
name: string;
module: string;
arguments: Argument[];
returnType: string;
isAsync: boolean;
filepath?: string;
}
export declare const getServiceName: (s: Service) => string;
export declare const genService: (item: IdentifierSyntax, fileName: string, sourceFilePath: string) => Service;
//# sourceMappingURL=serviceGenerator.d.ts.map