Minimal example of using typescript to make adobe extendscript scripts.
git clone https://github.com/shvendala/extendscript-ts-example
cd extendscript-ts-example
yarn
yarn build
Source ts script at ./src/index.ts
Compiled adobe script will be at ./dist/main.js