Skip to content

Commit 877d006

Browse files
committed
fix(soba): adjust orbit controls event type
three-stdlib might probably need to adjust this upstream
1 parent 92e0e05 commit 877d006

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libs/soba/controls/src/lib/orbit-controls.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,19 @@ export class NgtsOrbitControls {
124124
const startCallback = this.started.emit.bind(this.started);
125125
const endCallback = this.ended.emit.bind(this.ended);
126126

127+
// @ts-expect-error - type error from three-stdlib
127128
controls.addEventListener('change', changeCallback);
129+
// @ts-expect-error - type error from three-stdlib
128130
controls.addEventListener('start', startCallback);
131+
// @ts-expect-error - type error from three-stdlib
129132
controls.addEventListener('end', endCallback);
130133

131134
onCleanup(() => {
135+
// @ts-expect-error - type error from three-stdlib
132136
controls.removeEventListener('change', changeCallback);
137+
// @ts-expect-error - type error from three-stdlib
133138
controls.removeEventListener('start', startCallback);
139+
// @ts-expect-error - type error from three-stdlib
134140
controls.removeEventListener('end', endCallback);
135141
});
136142
});

0 commit comments

Comments
 (0)