Request: Please update ExtendScript and publish official TypeScript definition files (.d.ts)
Conclusion: ExtendScript needs an update, and Adobe should officially publish its type definitions.
Why has ExtendScript not been updated?
Right now, ExtendScript is still based on ES3, an extremely outdated JavaScript standard. Expressions, on the other hand, have been properly modernized and now support ES2020-level syntax. If Expressions can be updated, shouldn’t ExtendScript be modernized as well?
Yes, updating ExtendScript may break backward compatibility and cause some existing scripts to stop working. However, ExtendScript also contains many long-standing bugs—such as issues with the conditional operator—that would be better off fixed even if it means some adjustments for script authors.
In addition, why does Adobe still not publish official type information for ExtendScript (such as .d.ts files)?
The community is collecting type information through steady efforts, but there is still a lot of missing type information.
Types-for-Adobe
https://github.com/docsforadobe/Types-for-Adobe
Even when developers try to alleviate the pain of writing ES3-era code by transpiling from TypeScript, the lack of complete and official type definitions makes this workflow far from ideal.
For these reasons, I strongly request that Adobe update ExtendScript and officially release its type definitions.
