fix: types

This commit is contained in:
Luke Bennett 2021-06-13 04:49:56 +01:00
parent 957481b42d
commit 5bd08201d7
No known key found for this signature in database
GPG key ID: A738E9C68D3BF31A
2 changed files with 2 additions and 3 deletions

View file

@ -7,8 +7,7 @@ import {
ErrorCodes,
} from './CCashClient.exceptions';
export class CCashClient implements Partial<ICCashClient> {
/** TODO: not partial **/
export class CCashClient implements ICCashClient {
http: AxiosInstance;
constructor(baseURL: string | undefined = process.env.CCASH_API_BASE_URL) {

View file

@ -29,7 +29,7 @@ export interface ICCashClient {
adminAddUser(
user: string,
pass: string,
initialPass: number,
initialPass: string,
initialBalance: number
): Promise<User>;
deleteUser(user: string, pass: string): Promise<User>;