Skip to content

Commit f1d2bf3

Browse files
authored
Merge branch 'main' into fix-lint-issue
2 parents 28b0c15 + b5a0634 commit f1d2bf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/editor/core/draw/Draw.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class Draw {
143143
private intersectionPageNo: number
144144
private lazyRenderIntersectionObserver: IntersectionObserver | null
145145

146-
private isDestroyed = false;
146+
private isDestroyed = false
147147

148148
constructor(
149149
rootContainer: HTMLElement,

src/editor/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export default class Editor {
184184
})
185185
// 监听
186186
this.listener = new Listener()
187-
this.eventBus = new EventBus()
187+
this.eventBus = new EventBus<EventBusMap>()
188188
// start up
189189
const draw = new Draw(
190190
container,

0 commit comments

Comments
 (0)