fix warnings for any type
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user