refac: 재정비
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user