This commit is contained in:
9
src/hooks/generatedState.ts
Normal file
9
src/hooks/generatedState.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type {Character, GameState} from '../types';
|
||||
|
||||
export type CommitGeneratedState = (
|
||||
nextState: GameState,
|
||||
character: Character,
|
||||
actionText: string,
|
||||
resultText: string,
|
||||
lastFunctionId?: string,
|
||||
) => Promise<void> | void;
|
||||
Reference in New Issue
Block a user