Running tsc on an eslint.config.js raises error

I am running tsc --skipLibCheck with the files below:

eslint.config.js:

// @ts-check
import jslint from "@eslint/js"

export default []

tsconfig.json:

{
  "compilerOptions": {
    "strict": true,
    "target": "ES5",
    "useDefineForClassFields": true,
    "lib": ["ES2022", "DOM", "DOM.Iterable"],
    "module": "ES2022",
    "skipLibCheck": true,
    "allowJs": true,
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
  },
  "include": ["src"],
  "files": ["eslint.config.js"]
}

I get the following error:

eslint.config - error TS7016: Could not find a declaration file for module '@eslint/js'. './node_modules/@eslint/js/src/index.js' implicitly has an 'any' type.

How to do to ignore type check on imports?