This is a little helper module that uses TypeScript to generate the following:
- props-types checkers for JavaScript -- for import into the appropriate locations
- jsdocs-style Documentation Comments -- for manual copying into the main API interface
- String Enums for Android -- for use in extracting objects from the API Bridge
- String Enums for iOS -- for use in extracting objects from the API Bridge
- A TypeScript .d.ts file -- Future Feature / .gitignored for now
- The output files should be human readable / editable. -- This means this tool will output to a build directory, unless a specific flag is passed.
- The output Android/iOS code should feel platform-standard.
- This is an optional tool!
Edit the api-interface.ts file, then: npm run api-gen [--overwrite]
to generate the output.