libui-napi icon indicating copy to clipboard operation
libui-napi copied to clipboard

getters setters and other enhancement to typescript definitions

Open parro-it opened this issue 7 years ago • 1 comments

  • I add tslint package 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.

parro-it avatar Dec 09 '18 19:12 parro-it

Unfortunately, clang-format doesn't really work well with typescript

mischnic avatar Dec 09 '18 20:12 mischnic