lint fix.

This commit is contained in:
Miroslav Šedivý 2021-07-15 23:06:20 +02:00
parent f9c096b272
commit da18d477e0

View File

@ -10,16 +10,16 @@ export abstract class ReconnecterAbstract extends EventEmitter<ReconnecterAbstra
super() super()
if (this.constructor == ReconnecterAbstract) { if (this.constructor == ReconnecterAbstract) {
throw new Error("Abstract classes can't be instantiated."); throw new Error("Abstract classes can't be instantiated.")
} }
} }
public async connect() { public async connect() {
throw new Error("Method 'connect()' must be implemented."); throw new Error("Method 'connect()' must be implemented.")
} }
public async disconnect() { public async disconnect() {
throw new Error("Method 'disconnect()' must be implemented."); throw new Error("Method 'disconnect()' must be implemented.")
} }
} }