jessemchung / DNDJMC

Working
1 stars 0 forks source link

Clean current code #3

Open jessemchung opened 2 months ago

jessemchung commented 2 months ago

It is a mess in here. These should be added to the tsconfig.json file

{ "compilerOptions": { "strict": true, // Enable all strict type-checking options "noImplicitAny": true, // Raise errors on expressions and declarations with an implied 'any' type "strictNullChecks": true, // Enable strict null checks "strictFunctionTypes": true, // Ensure function parameters are checked for strict function type checking "strictPropertyInitialization": true, // Ensure class properties are correctly initialized "noImplicitThis": true, // Raise an error when 'this' expression is of type 'any' "alwaysStrict": true, // Enforce strict mode in all files "moduleResolution": "node", // Use Node.js-style module resolution "esModuleInterop": true, // Enable interoperability between CommonJS and ES Modules "skipLibCheck": true, // Skip type checking of declaration files (optional) "forceConsistentCasingInFileNames": true // Ensure file names are case-sensitive } }