(config?: EditorConfig)
| 48 | >() |
| 49 | |
| 50 | constructor(config?: EditorConfig) { |
| 51 | super() |
| 52 | // set global emitter maxListeners |
| 53 | this.setMaxListeners(200) |
| 54 | this.eventBus = new EventBus(this) |
| 55 | |
| 56 | if (config) { |
| 57 | this.init(config) |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | get<T = undefined, KeyOrType extends EditorValueKey = any>( |
| 62 | keyOrType: KeyOrType, |
nothing calls this directly
no test coverage detected