mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
lint fix.
This commit is contained in:
parent
f9c096b272
commit
da18d477e0
@ -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.")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user