android-dts-generator
android-dts-generator copied to clipboard
improved PR #85
This PR add many things which improve typings generation:
- improved PR https://github.com/NativeScript/android-dts-generator/pull/85, fixing bugs and adding more edge cases
- handle kotlin parameters without return paramter names with forbidden chars
- ensure replaceGenericsInText does not remove > chars far already any types
- better detection of open/close namespace to prevent unclosed namespaces
- some inner namespaces where not correctly filled/exported
- kotlin Companion is now a namespace making static functions being reported correctly
- add eslint rules at the top to prevent vscode errors
- constant values real value is now exported as jsdoc. Using direct values was failing in some cases and vscode was reporting errors
- a new flag
-per-librarywhich will generate separated files for libraries. Also the name contains the library name/version which makes it easier to maintain typings
Some commits are listed here while already merged