refactor: add src alias to @/

This commit is contained in:
2026-04-02 16:03:44 +08:00
parent f4649e0dac
commit 2581a8e0e6
19 changed files with 48 additions and 34 deletions
+4 -4
View File
@@ -7,10 +7,10 @@ import {
createInitialState,
TicTacToeState,
WinnerType, PlayerType
} from '../../src/samples/tic-tac-toe';
import {Entity} from "../../src/utils/entity";
import {createGameContext} from "../../src";
import type { PromptEvent } from '../../src/utils/command';
} from '@/samples/tic-tac-toe';
import {Entity} from "@/utils/entity";
import {createGameContext} from "@/";
import type { PromptEvent } from '@/utils/command';
function createTestContext() {
const ctx = createGameContext(registry, createInitialState);