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

View file

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