improved adherence to types

This commit is contained in:
2025-07-13 20:28:27 +02:00
parent 473c807461
commit 0a40a8ce5d
14 changed files with 114 additions and 38 deletions

View File

@@ -1,7 +1,10 @@
import { levelState } from "../levelState.js";
import { characterData } from "../characterData.js";
import { Type } from "class-transformer";
export class levelUpdateHost{
@Type(() => characterData)
player : characterData
@Type(() => levelState)
room : levelState
}