瀏覽代碼

fix: slow type

Sv443 3 周之前
父節點
當前提交
3395ba430b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Mixins.ts

+ 1 - 1
lib/Mixins.ts

@@ -110,7 +110,7 @@ export class Mixins<
   /** Whether the priorities should auto-increment if not specified */
   protected readonly autoIncPrioEnabled: boolean;
   /** The current auto-increment priority counter */
-  protected autoIncPrioCounter = new Map<TMixinKey, number>();
+  protected autoIncPrioCounter: Map<TMixinKey, number> = new Map<TMixinKey, number>();
 
   /**
    * Creates a new Mixins instance.