Open carlpaten opened 7 years ago
Great idea. Do you want to submit a PR with required changes to this repo for it to be compatible? From having a quick browse through their docs it says you should not use /// <reference>
anymore, and i am not sure how this would then be handled. From what I understand in order to get it published under @types
you just submit a PR to them. So once we're happy with the typings in this repo we can go over there and submit a PR. I also think we should release a package for each of the currently supported versions, i.e. npm install @types/photoshop-cs6
etc.
We need to update:
I'm tentatively up for it, could be a couple weeks before I have anything PR-worthy though.
awesome, I appreciate it very much!
Regarding declaration files for UnitValue and ScriptUI it might be an idea to add early beta files to the repo with some initial declarations. People could add new blocks from time to time with pull requests by following the order of the prose "JavaScript Tools Guide".
(Unfortunately, I’m too unexperienced writing ts declarations so far to give it a start)
Has this issue been solved yet?
Since TypeScript 2.x, typings are installed via
npm install @types/<package>
. It would be nice if this were available undernpm install @types/photoshop
.