refac: 재정비

This commit is contained in:
2024-03-09 05:21:50 +00:00
parent f320ce58a2
commit c9afc111cc
6 changed files with 20 additions and 9 deletions
+3 -3
View File
@@ -1,9 +1,9 @@
import type { ValidEntity, ValidEntityType } from "./Entity/index.js";
import type { ValidEntity, EntityType } from "./Entity/index.js";
import type { IResourceController } from "./ResourceController.js";
export abstract class LazyEntityUpdater<Entity extends ValidEntity>{
protected abstract readonly _indirectNames: ReadonlyArray<keyof Entity>;
protected abstract readonly _entityType: ValidEntityType<Entity>;
protected abstract readonly _entityType: EntityType<Entity>;
protected abstract readonly _raw: Entity;
@@ -13,7 +13,7 @@ export abstract class LazyEntityUpdater<Entity extends ValidEntity>{
return this._raw;
}
public get entityType(): ValidEntityType<Entity> {
public get entityType(): EntityType<Entity> {
return this._entityType;
}