homebox/frontend/lib/api/base/base-api.ts

18 lines
294 B
TypeScript
Raw Normal View History

2022-09-01 22:32:03 +00:00
import { Requests } from '../../requests';
2022-08-31 00:06:57 +00:00
// <
// TGetResult,
// TPostData,
// TPostResult,
// TPutData = TPostData,
// TPutResult = TPostResult,
// TDeleteResult = void
// >
export class BaseAPI {
2022-08-31 05:22:10 +00:00
http: Requests;
2022-08-31 00:06:57 +00:00
2022-08-31 05:22:10 +00:00
constructor(requests: Requests) {
this.http = requests;
}
2022-08-31 00:06:57 +00:00
}