Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 602 Bytes

CONTRIBUTING.md

File metadata and controls

24 lines (17 loc) · 602 Bytes

android typings

java -jar build/libs/dts-generator.jar -skip-declarations -input /Volumes/data/dev/carto/mobile-sdk/dist/android/carto-mobile-sdk.jar

clean up typings

  • regexp: /export class .*?JNI {(.|[\r\n])*?}//
  • regexp: /export module .*? {([\t\r\n])*?}// twice
  • regexp: /declare module com {([\t\r\n])*?}/

ios typings

run in the demo app

TNS_TYPESCRIPT_DECLARATIONS_PATH="$(pwd)/typings" tns build ios --bundle

clean up typings

  • regexp: /description\(\): string;//
  • regexp: /hash\(\): number;//
  • regexp: /var:/variant:/