TypeScript definition for JXA core.
npm install @jxa/typesTypeScript definition for JXA core.
Install with npm:
npm install @jxa/types
This library is just TypeScript definition files.
In other words, this library only used for importing.
If you want to modify global, see @jxa/global-type.
Application support generics type that return T & Application
Example: GoogleChrome Application
``ts`
import { Application } from "@jxa/types";
import { GoogleChrome } from "./fixtures/GoogleChrome";
// Pass Custom Application type as generics
const chrome = Application
const frontWindow: GoogleChrome.Window = chrome.app.windows[0];
1. Update tools/sdefs/*.sdefes
2. Update d.ts with follows command:
yarn run dts:update
yarn test
See Releases page.
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