mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-17 06:08:42 +00:00
18 lines
293 B
TypeScript
18 lines
293 B
TypeScript
|
import { Requests } from '../../lib/requests';
|
||
|
// <
|
||
|
// TGetResult,
|
||
|
// TPostData,
|
||
|
// TPostResult,
|
||
|
// TPutData = TPostData,
|
||
|
// TPutResult = TPostResult,
|
||
|
// TDeleteResult = void
|
||
|
// >
|
||
|
|
||
|
export class BaseAPI {
|
||
|
http: Requests;
|
||
|
|
||
|
constructor(requests: Requests) {
|
||
|
this.http = requests;
|
||
|
}
|
||
|
}
|