neutralinojs / neutralino.js

JavaScript API for Neutralinojs

Home Page:https://neutralino.js.org/docs/api/overview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

using enums for constants instead of strings for better type safety

Sadaf-A opened this issue · comments

Instead of using strings for constants like NL_MODE, NL_OS, and NL_ARCH, we can use enums. Enums provide type safety and better code readability.