Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tsconfig): optimize TypeScript configuration #1052

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vishalnadarge
Copy link

This commit focuses on optimizing the TypeScript configuration for the project. The following changes have been made:

  • Compiler Options: Enhanced settings for stricter type checking by enabling strict mode and disabling allowJs to enforce the exclusive use of TypeScript files.
  • Library Inclusion: Updated the lib option to include the latest ECMAScript features, ensuring compatibility with modern JavaScript.
  • Module Resolution: Set moduleResolution to bundler to facilitate better handling of module imports.
  • Include/Exclude Paths: Adjusted the include and exclude arrays to ensure all relevant files are considered for compilation while excluding unnecessary directories such as node_modules.
  • Incremental Compilation: Enabled incremental to speed up the build process by caching previous compilation results.

These changes aim to improve code quality and maintainability while leveraging the full capabilities of TypeScript in the development environment.

- Adjusted compiler options for better performance and type safety.
- Set allowJs to false to enforce TypeScript usage.
- Updated include paths to cover all necessary files.
- Improved module resolution settings for clearer imports.
Copy link

vercel bot commented Nov 2, 2024

@vishalnadarge is attempting to deploy a commit to the MD AZFAR ALAM's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, vishalnadarge, for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making Ezyshop better. 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant