move game state and head interfaces into shared file

This commit is contained in:
2026-06-02 20:19:47 +02:00
parent 1d6a9f8e6e
commit 7d8f390a50
3 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { IGameState } from "#/reducers/gameReducer.ts";
import type { IGameState } from "#/interfaces.ts";
export const getHeaders = (pgn: string) => {
const pgnHeader = pgn.split(/\n\n/g)[0];