types
This commit is contained in:
parent
4b328c7fe5
commit
c6e4be53b5
@ -87,10 +87,6 @@ export default class PairVerifierFetchable extends EventEmitter<Conflictable> im
|
||||
);
|
||||
}
|
||||
|
||||
canFetch() {
|
||||
return true;
|
||||
}
|
||||
|
||||
async handleMetadataConflict(changesType: AutoVerifierChangesType, primaryMetadata: GuildMetadata | null, trustedMetadata: GuildMetadata | null): Promise<void> {
|
||||
// LOG.debug('metadata conflict', {
|
||||
// primaryClass: this.primary.constructor.name,
|
||||
|
@ -74,7 +74,7 @@ export default class SocketVerifier extends EventEmitter<{ 'verified': () => voi
|
||||
}
|
||||
|
||||
// TODO: ensureVerified for send/update requests that may need to be in-order?
|
||||
public async ensureVerified() {
|
||||
public async ensureVerified(): Promise<void> {
|
||||
if (this.isVerified) return;
|
||||
await this.verify();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user