瀏覽代碼

Remove async keyword

Popov72 5 年之前
父節點
當前提交
4f0942666f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Misc/KTX2/LiteTranscoder.ts

+ 1 - 1
src/Misc/KTX2/LiteTranscoder.ts

@@ -13,7 +13,7 @@ export class LiteTranscoder extends Transcoder {
     private _modulePromise: Promise<{ module: any }>;
     private _memoryManager: WASMMemoryManager;
 
-    protected async _loadModule(): Promise<{ module: any }> {
+    protected _loadModule(): Promise<{ module: any }> {
         if (this._modulePromise) {
             return this._modulePromise;
         }