mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
fix type for run()
This commit is contained in:
1 file changed
+1
-1
@@ -15,7 +15,7 @@ class ObjectPreview {
|
||||
this.progressLabel = this.canvas.parentElement?.getElementsByClassName('progress-label')[0] as HTMLSpanElement
|
||||
}
|
||||
|
||||
async run (): void {
|
||||
async run (): Promise<void> {
|
||||
// Create offscreen renderer worker
|
||||
const offscreenCanvas = this.canvas.transferControlToOffscreen()
|
||||
const OffscreenRenderer = await Comlink.wrap(
|
||||
|
||||
Reference in new issue
Block a user