Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
just return the type from viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
vim-sroberge committed Oct 28, 2024
1 parent 0f0677d commit 9a1ceac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/helpers/loadRequest.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as VIM from 'vim-webgl-viewer/'
import { DeferredPromise } from './deferredPromise'
import { RequestResult } from './requestResult'

type RequestCallbacks = {
onProgress: (p: VIM.IProgressLogs) => void
Expand Down Expand Up @@ -70,7 +69,7 @@ export class LoadRequest {
}
}

async getResult (): Promise<RequestResult<VIM.Vim>> {
async getResult () {
await this._completionPromise
return this._request.getResult()
}
Expand Down

0 comments on commit 9a1ceac

Please sign in to comment.