Browse Source

fix: slow type

Sv443 3 tuần trước cách đây
mục cha
commit
3395ba430b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.