UNPKG

@tapis/tapisui-api

Version:

Typescript library for making api calls with react query

11 lines (10 loc) 300 B
type BaseApiClass = { new (...args: any[]): any; }; type ApiModule = { Configuration: { new (...args: any[]): any; }; }; declare const apiGenerator: <T extends unknown>(module: ApiModule, api: BaseApiClass, basePath: string, jwt: string | null) => T; export default apiGenerator;