fix(NetworkGraph): remove @ts-nocheck, narrow fcose import ignore

Removed file-level @ts-nocheck to restore type checking.
Kept targeted @ts-expect-error for cytoscape-fcose import (no types).
This commit is contained in:
Crypto Rug Munch 2026-07-08 11:08:31 +07:00
parent bb96ba0b08
commit 518cc5a981

View file

@ -1,7 +1,6 @@
// @ts-nocheck
import cytoscape from 'cytoscape'
// @ts-expect-error
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error — cytoscape-fcose has no @types
import fcose from 'cytoscape-fcose'
import { Crosshair, Eye, Maximize2, RotateCcw, ZoomIn, ZoomOut } from 'lucide-react'
import { useCallback, useEffect, useRef } from 'react'