소스 검색

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.