JXA typing for global
npm install @jxa/global-typeJXA typing for global.
This typing enable auto-complete in your editor.
- TypeScript Editor Support · Microsoft/TypeScript Wiki
Install with npm:
npm install @jxa/global-type
Install and includes @jxa/global-type as typing.
Then, automatically inject Application to global
You can add JSX types to global by import @jxa/global-type:
``ts
import "@jxa/global-type";
// your JXA application
var userName = Application("System Events").currentUser().name();
`
- [ ] welcome PR
`ts
///
// your JXA application
var userName = Application("System Events").currentUser().name();
`
See Releases page.
yarn test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT © azu