1.0.0-beta • Published 2 years ago
types-for-after-effects v1.0.0-beta
types-for-after-effects
Types for after effects 2022, base on https://github.com/aenhancers/Types-for-Adobe/tree/master/AfterEffects/18.0
Prerequisites
Install Node.js and TypeScript and git.
Usage
# create new folder
mkdir my-script
cd my-script
# install
npm init -y
npm i after-effects-types
# create tsconfig.json
printf '{"compilerOptions":{"module":"none","noLib":true}}' > tsconfig.json
# create index.ts and change reference types to Adobe product you're targeting
printf '/// <reference types="after-effects-types"/>\nalert(String(app));\n' > index.ts
# compile typescript files
tsc
# open Adobe Effects -> File -> Scripts -> Other Script -> and open index.js
More typings
1.0.0-beta
2 years ago