dont use instanceof

This commit is contained in:
Philipp Kühn
2020-11-19 21:08:25 +01:00
parent a4cc02cff6
commit 6cb3de0f4e
4 changed files with 9 additions and 3 deletions

View File

@@ -111,6 +111,8 @@ export interface MarkConfig<Options = any, Commands = {}> extends Overwrite<Exte
}> {}
export class Mark<Options = any, Commands = {}> {
type = 'mark'
config: Required<MarkConfig> = {
name: 'mark',
defaultOptions: {},