#606·critical

Discover problems

Author: szepeviktorCreated Sep 23, 2024Updated Sep 23, 2024

Maybe you could benefit from Typescript's static analysis.

bash
npm i typescript
npx tsc

tsconfig.json

json
{
  "compilerOptions": {
    "allowJs": true,
    "checkJs": true,
    "noEmit": true,
    "module": "NodeNext",
    "moduleResolution": "nodenext"
  },
  "files": [
    "cli.js",
    "index.js",
  ],
  "include": [
    "src/*.js"
  ]
}