79518759

Date: 2025-03-18 22:52:01
Score: 1
Natty:
Report link

Have you tried "strict": true for the compiler options? Im new to Ts also but this is how i have my projects set up at the tsconfig.json

   {
  "compilerOptions": {
    "target": "ES2017",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "paths": {
      "@/*": ["./src/*"]
    }
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules"]
}
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1.5): Im new
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user12577611