# Uxp typescript shell module openPath

**URL:** <https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106>\
**Category:** UXP Plugin API\
**Tags:** bug, feature-request, uxp, javascript, api-feedback\
**Created:** [March 28, 2023, 11:27pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106 "2023-03-28T23:27:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adobe256](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@Adobe256](https://forums.creativeclouddeveloper.com/u/Adobe256)\
**Post date:** [March 28, 2023, 11:27pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106/1 "2023-03-28T23:27:05Z")

</div>

someone make me understand. maybe am dumb to figure out but on uxp shell section to be specific. Without typescript we have the shell.openPath but with typescript this method is missing in the .d.ts file and only have the openExternal. Why ?

 ![erroruxpshell](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/2/2b5fd90f4b58dbf289efff02c3261a9ae2d3b577.png)

I had to use @ts-ignore to surpress the error: `Property 'openPath' does not exist on type 'typeof shell'`

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [March 29, 2023, 12:49am UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106/2 "2023-03-29T00:49:08Z")

</div>

Where do you have these types from?

---

<div class="post-metadata">

**Author:** ![Adobe256](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@Adobe256](https://forums.creativeclouddeveloper.com/u/Adobe256)\
**Post date:** [March 29, 2023, 9:38am UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106/3 "2023-03-29T09:38:10Z")

</div>

in the uxo-types module

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [March 29, 2023, 10:02am UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106/4 "2023-03-29T10:02:33Z")

</div>

So that will be question for @thejustinwalsh since it is his project/module. [uxp-types - npm](https://www.npmjs.com/package/uxp-types)

But seeing it was updated 2 years ago… it might be just outdated.

---

<div class="post-metadata">

**Author:** ![thejustinwalsh](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@thejustinwalsh](https://forums.creativeclouddeveloper.com/u/thejustinwalsh)\
**Post date:** [April 1, 2023, 9:13pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106/5 "2023-04-01T21:13:24Z")

</div>

Outdated. I just scraped all of the functions from the JS prototypes inside of Photoshop 2 years ago. The contract I was working on is over and I don’t have the budget to keep paying for these Adobe products I no longer use.

Feel free to contribute or take over the types.

---

<div class="post-metadata">

**Author:** ![maxplaystudios](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@maxplaystudios](https://forums.creativeclouddeveloper.com/u/maxplaystudios)\
**Post date:** [April 14, 2023, 9:37pm UTC](https://forums.creativeclouddeveloper.com/t/uxp-typescript-shell-module-openpath/6106/6 "2023-04-14T21:37:04Z")

</div>

I’d like to help with this, but how do you run dts-gen in the photoshop node?
