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

separated types from executable code and modifying the build.mjs file accordingly #105

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

Sadaf-A
Copy link
Contributor

@Sadaf-A Sadaf-A commented Mar 6, 2024

This PR separates type definitions from executable code and updates the build script - build.mjs accordingly. This improves code organization, scalability, and facilitates code reuse. The updated build process ensures the accurate generation of the declaration file. After running the modified file no changes were made to build files which means it functions in the same way.

This makes it easier to locate types also and make changes

also using the type keyword promotes better documentation, easier refactoring, and overall improved code quality.

Copy link
Member

@shalithasuranga shalithasuranga left a comment

Choose a reason for hiding this comment

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

Hi.. @Sadaf-A, Thanks so much for this PR, this is a great improvement to the codebase :taa:

@shalithasuranga shalithasuranga merged commit 6c80b1d into neutralinojs:main Mar 18, 2024
2 checks passed
@Sadaf-A
Copy link
Contributor Author

Sadaf-A commented Mar 18, 2024

Hi.. @Sadaf-A, Thanks so much for this PR, this is a great improvement to the codebase :taa:

Always a pleasure

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.

2 participants