-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Currently, the UXP JS API references don't follow a standard when it comes to declaring data types. A few examples of various ways things are notated in the docs (and, "as the root", the corresponding JS type):
numberintintegernumberNumberInteger
stringstringString
Promise<void>- (no type specified at all, "in lieu of"
void) Promisevoid
- (no type specified at all, "in lieu of"
While this will be a big effort to fix, it currently
- can cause a lot of confusion ("Is there a difference between these?")
- disallows for any automated processing (e.g., to generate TypeScript definitions from it)
- makes the documentation seem much less consistent (and thus, subjectively, harder to work with)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels