docsforadobe / Types-for-Adobe

TypeScript types for Adobe: AfterEffects, Animate, Audition, Illustrator, InDesign, Photoshop, Premiere, ScriptUI.
517 stars 124 forks source link

Wrong typing for ProjectItem.findItemsMatchingMediaPath() (Premiere 15.0 typing) #99

Open mgomez-tubs opened 2 years ago

mgomez-tubs commented 2 years ago

Current typing is: findItemsMatchingMediaPath(matchString: string, ignoreSubclips?: number): void

However according to the official documentation it returns "an array of project items, or 0 if no project items matching the matchPath were found".

zlovatt commented 9 months ago

Feel free to open a PR!