adobe / adobe/cc-ext-uxp-types

require("uxp").storage.localFileSystem is broken type

Open
#2 6 comments 4 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15
Forks
5
PR merge metrics
No merged PRs in 30d

Description

`require("uxp").storage.localFileSystem` is broken type

![image](https://github.com/adobe/cc-ext-uxp-types/assets/13526959/300789c7-4568-4955-9d0a-5b36340388a3)

imported like this: `import {storage} from "uxp";` and then `storage.localFileSystem;`

Contributor guide

Open the contributing guide

Research direction

Reproduce the problem using `import {storage} from "uxp"` and `storage.localFileSystem`, then locate the type definition for `storage` and `localFileSystem`. Compare it with the reported `require("uxp").storage.localFileSystem` behavior; done means both shown access patterns have the intended type.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.