From 5c1ef232fdb6ff37e186bc1c7d997cf8e4ed7786 Mon Sep 17 00:00:00 2001 From: hyper Date: Thu, 23 Apr 2026 15:36:25 +0800 Subject: [PATCH] export GameState and GameResult types from game-host --- src/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2d411d1..603a531 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,13 @@ export type { IGameContext } from "./core/game"; export { createPromptDef } from "./core/game"; -export type { GameHost, GameHostStatus, GameModule } from "./core/game-host"; +export type { + GameHost, + GameHostStatus, + GameModule, + GameState, + GameResult, +} from "./core/game-host"; export { createGameHost } from "./core/game-host"; export type { Part } from "./core/part";