fix build error #2
Annotations
6 errors and 1 warning
deploy:
src/game.ts#L1
Module './gameLayout' was resolved to '/home/runner/work/Klotski/Klotski/src/gameLayout.tsx', but '--jsx' is not set.
|
deploy:
src/game.ts#L289
'blockType' is declared but its value is never read.
|
deploy:
src/i18n.ts#L52
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ title: string; moves: string; best: string; reset: string; undo: string; congrats: string; enterUserId: string; levels: { 横刀立马: string; 指挥若定: string; 将撞曹营: string; 齐头并进: string; 兵分三路: string; 雨声淅沥: string; }; } | { ...; }'.
|
deploy:
src/i18n.ts#L57
Type '[string, any]' is not assignable to type 'string'.
|
deploy:
src/i18n.ts#L58
Property 'replace' does not exist on type '[string, any]'.
|
deploy
Process completed with exit code 2.
|
deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|