libui-napi
libui-napi copied to clipboard
getters setters and other enhancement to typescript definitions
- I add
tslintpackage to lint typescript defs file. - Changed syntax for nested enums from static property to namespace to fix TS error.
- Manually add getter setters (as @mischnic said, mapped properties cannot be used for this)
While doing these changes, I also find some error in type of properties that I'm going to fix with further commits here.
Unfortunately, clang-format doesn't really work well with typescript