You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I dispend many of time searching bugs in my code, and when I found was a problem like:
pin.writeSync(true); //not work
pin.writeSync(1); //work fine
pin.writeSync(Gpio.HIGH); //work fine, but ENUM is not a Standard in your lib.
But, I and the most of devs use autocomplete, like a VS Code. With the STATIC or ENUM constants might save the day, the assistents find there and show us the options.
Please add all options like a static.
Your framework is amazing, but it still may be better.
The text was updated successfully, but these errors were encountered:
I would suggest that the js->d.ts is a stub solution at this point and there the BinaryValue type exists.
Anything to aid in the correctness / clearness / ease of use would be interesting as many libraries "export" this type of const FOO = x / Klazz.FOO = FOO style pattern. @cesarjhony Could you expand on your desired Use Case?
I dispend many of time searching bugs in my code, and when I found was a problem like:
pin.writeSync(true); //not work
pin.writeSync(1); //work fine
pin.writeSync(Gpio.HIGH); //work fine, but ENUM is not a Standard in your lib.
But, I and the most of devs use autocomplete, like a VS Code. With the STATIC or ENUM constants might save the day, the assistents find there and show us the options.
Please add all options like a static.
Your framework is amazing, but it still may be better.
The text was updated successfully, but these errors were encountered: