adobe / adobe/cc-ext-uxp-types

"fs" module needs propper return types and overloads

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
15
Forks
5
PR merge metrics
No merged PRs in 30d

Description

This needs real overloads and better return types than `any` https://github.com/adobe/cc-ext-uxp-types/blob/main/uxp/index.d.ts#L8956

At current state I have to write my own typings instead of using yours.

You could probably copy/paste some parts of NodeJS types: https://www.npmjs.com/package/@types/node?activeTab=code

Contributor guide

Open the contributing guide

Research direction

Start at uxp/index.d.ts around line 8956 and compare the fs declarations with the relevant @types/node definitions. Update the module's any-based signatures with proper return types and overloads, so consumers no longer need to maintain their own typings.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.