JavaScript for Automation(JXA) packages for TypeScript/Node.js.
Full Changelog: https://github.com/JXA-userland/JXA/compare/v1.3.4...v1.3.5
Fix to work on macOS Big Sur beta 5 (20A5354i)
import { Application } from "@jxa/types";
import { GoogleChrome } from "./fixtures/GoogleChrome";
// Pass Custom Application type as generics
const chrome = Application<GoogleChrome>("Google Chrome");
const frontWindow: GoogleChrome.Window = chrome.app.windows[0];