This commit is contained in:
2025-09-03 22:50:32 -04:00
parent 46e7b60ade
commit b3e040f03f
8 changed files with 88 additions and 33 deletions

View File

@@ -202,7 +202,7 @@ export const liveTable = <
const gameImpl = gameConfig
.filter((cfg) => cfg.game in GAMES)
.map((config) => GAMES[config.game as GameKey](config))
.map((config) => GAMES[config.game as GameKey].impl(config))
.toProperty();
const withGame = <T>(obs: Observable<T, any>) =>
@@ -226,7 +226,7 @@ export const liveTable = <
prev,
[{ action, humanKey }, game]: [
Attributed & { action: GameAction },
Game
ReturnType<Game["impl"]>
]
) =>
prev &&