mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-06 04:42:47 +02:00
lint fix.
This commit is contained in:
parent
f9c096b272
commit
da18d477e0
1 changed files with 3 additions and 3 deletions
|
@ -10,16 +10,16 @@ export abstract class ReconnecterAbstract extends EventEmitter<ReconnecterAbstra
|
|||
super()
|
||||
|
||||
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() {
|
||||
throw new Error("Method 'connect()' must be implemented.");
|
||||
throw new Error("Method 'connect()' must be implemented.")
|
||||
}
|
||||
|
||||
public async disconnect() {
|
||||
throw new Error("Method 'disconnect()' must be implemented.");
|
||||
throw new Error("Method 'disconnect()' must be implemented.")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue