refactor: purge remaining TypeScript residue

After the JS+JSDoc conversion, some TS-flavored bits lingered. Removed:

- // @ts-check directives (TS-specific pragma)
- JSDoc annotations referencing TS-defined types: import('next').NextConfig,
  React.MutableRefObject, React.Dispatch, React.SetStateAction
- jsconfig.json (TS-server-flavored config; only kept it for the @/* alias)

@/* imports replaced with relative paths so jsconfig is no longer needed.
Remaining JSDoc is plain @param / @returns — vanilla JS, no TS dependency.

Build, lint, dev profiles unchanged.
This commit is contained in:
tiennm99 committed 2026-04-26 20:01:43 +07:00
1 parent 95545c9308
commit 02b886d984
8 files changed
+31 -83

No files matched your search

+2 -2
View File
@@ -125,8 +125,8 @@ function randomANumberInRow(weights) {
```js
import { useCallback, useState } from "react";
import Link from "next/link";
import PlayerBoard from "@/components/player-board";
import { generateGrid } from "@/lib/game-logic";
import PlayerBoard from "../components/player-board";
import { generateGrid } from "../lib/game-logic";
```
## Testing (Not Currently Implemented)