[FEATURE]: Enable stricter TypeScript compiler options (e.g., "strict": true, noImplicitAny) and fix small type errors. Example tsconfig.json

Author: ayush-0513Created Sep 25, 2025Updated Sep 25, 2025
Labelsenhancement

Motivation

Enabling strict TypeScript options ("strict": true, "noImplicitAny": true) ensures stronger type safety, catches errors at compile time, and improves overall code reliability. This makes the codebase more maintainable, reduces hidden bugs, and aligns with best practices for TypeScript projects.

Examples

{ "compilerOptions": { "target": "ES2022", "module": "ESNext", "strict": true, "noImplicitAny": true, "skipLibCheck": true, "moduleResolution": "bundler" } }

Possible workarounds

No response

Source: TheAlgorithms/TypeScript