10 lines
236 B
TypeScript
10 lines
236 B
TypeScript
import type {Character, GameState} from '../types';
|
|
|
|
export type CommitGeneratedState = (
|
|
nextState: GameState,
|
|
character: Character,
|
|
actionText: string,
|
|
resultText: string,
|
|
lastFunctionId?: string,
|
|
) => Promise<void> | void;
|