mirror of
https://github.com/Expand-sys/ccash-client-js
synced 2026-03-22 12:27:09 +11:00
fix: types
This commit is contained in:
parent
957481b42d
commit
5bd08201d7
2 changed files with 2 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue