fix warnings for any type

This commit is contained in:
Blake Joynes
2023-04-15 12:16:57 -04:00
parent 5d38a76997
commit 933ebf25a3
6 changed files with 59 additions and 18 deletions

View File

@@ -1,11 +1,12 @@
import { BaseEndpoint } from './base';
import { AccountDetails } from '../types/account';
export class AccountEndpoint extends BaseEndpoint {
constructor(accessToken: string) {
super(accessToken);
}
async details(): Promise<any> {
async details(): Promise<AccountDetails> {
return await this.api.get('/account');
}
}