java -jar build/libs/dts-generator.jar -skip-declarations -input /Volumes/data/dev/carto/mobile-sdk/dist/android/carto-mobile-sdk.jar
- regexp:
/export class .*?JNI {(.|[\r\n])*?}//
- regexp:
/export module .*? {([\t\r\n])*?}//
twice - regexp:
/declare module com {([\t\r\n])*?}/
run in the demo app
TNS_TYPESCRIPT_DECLARATIONS_PATH="$(pwd)/typings" tns build ios --bundle
- regexp:
/description\(\): string;//
- regexp:
/hash\(\): number;//
- regexp:
/var:/variant:/