Parcourir la source

fix: slow type

Sv443 il y a 3 semaines
Parent
commit
3395ba430b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.