Types-for-Adobe
Types-for-Adobe copied to clipboard
Are definitions manually fixed?
When I found this repository, I thought that you can generate the same but up-to-date TS definitions with this script: https://github.com/pravdomil/ExtendScript-XML-to-TypeScript
However, by doing so and comparing results, I noticed that resulting files differ. For example, the general/JavaScript.d.ts definition contains interfaces for all standard stuff, whereas if you generate the same file with the abovementioned script, you'll get standard stuff declared as classes.
Apparently, the generator script is either outdated or some files, such as javascript.xml, are supposed to be manually fixed to be compatible with other definitions in this repository.
Could you please clarify this? Is there a newer version of the generator script?
some files, such as JavaScript.d.ts, are manualy fixed to be compatible with other definitions in this repository and xml files have bugs see https://github.com/pravdomil/Types-for-Adobe/commits/master/shared/JavaScript.d.ts or https://github.com/pravdomil/Types-for-Adobe/commits/master/Illustrator/2015.3/index.d.ts
see commit history for each definition