Hi @Manan Joshi
I watched this video several times, but I still didn't understand it. I'm very ashamed and confused, but thank you!
I don't know where to start first.....
- Open the terminal application your MAC. It is an application that is used to run commands, you might have used it. You can open it by typing terminal in Spotlight
After you open the terminal you run the following commands as mentioned in the Github repo. One after the other. The lines starting with # are just comments to tell you what is being done by the commands that follow, so they need to be ignored. Copy them and paste in terminal one by one and press enter.
# create new folder
mkdir my-script
cd my-script
# install types-for-adobe
npm init -y
npm i types-for-adobe
# 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="types-for-adobe/Illustrator/2015.3"/>\nalert(String(app));\n' > index.ts
# compile typescript files
tsc
# open Adobe Illustrator -> File -> Scripts -> Other Script -> and open index.js
Let me know if you still have issues.
-Manan