Selaa lähdekoodia

fix: slow type

Sv443 3 viikkoa sitten
vanhempi
commit
3395ba430b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.