dont use instanceof
This commit is contained in:
@@ -65,6 +65,8 @@ export interface ExtensionConfig<Options = any, Commands = {}> {
|
||||
}
|
||||
|
||||
export class Extension<Options = any, Commands = any> {
|
||||
type = 'extension'
|
||||
|
||||
config: Required<ExtensionConfig> = {
|
||||
name: 'extension',
|
||||
defaultOptions: {},
|
||||
|
||||
Reference in New Issue
Block a user