neutralinojs / neutralino.js

JavaScript API for Neutralinojs
https://neutralino.js.org/docs/api/overview
MIT License
237 stars 47 forks source link

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

Closed Sadaf-A closed 6 months ago

Sadaf-A commented 7 months ago

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.

Sadaf-A commented 6 months ago

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

Always a pleasure