adobe / adobe/cc-ext-uxp-types
How to get instance of Entry?
Open
- Dominant language
- No language data
- Stars
- 15
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
How do I get the type for the instance of entry? Am I supposed to do this?
```TS
type TEntry = InstanceType;
const entry:TEntry = await fsp.getEntryWithUrl(url);
```
Or is there any better way to do that?
Contributor guide
Research direction
Start by reviewing the type declarations for storage.Entry and the fsp.getEntryWithUrl(url) entry point mentioned in the issue. Confirm the supported way to name the returned instance type in TypeScript, then document the recommended usage or clarify whether the existing example is correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100