Generic Commit; Most likely a fix or small feature

This commit is contained in:
Darius
2025-11-21 16:22:14 +01:00
parent 5f9b97ca54
commit d0e9f28c8c
4 changed files with 70 additions and 4 deletions

13
dist/fastify.d.ts vendored
View File

@@ -1,5 +1,16 @@
import { AxiosInstance } from "axios";
export type ServiceResult<T = unknown> = {
result: T;
succesful: boolean;
successful: boolean;
};
export declare abstract class Client {
private axiosInstance;
constructor(axiosInstance: AxiosInstance);
}
export declare abstract class Service<T> {
private client;
constructor(client: T);
getSuccessfulResult<R = unknown>(result: R): ServiceResult<R>;
getErrorResult(error: string): ServiceResult<string>;
}
//# sourceMappingURL=fastify.d.ts.map