AdobeDocs / uxp

Documentation for UXP
Apache License 2.0
15 stars 7 forks source link

Unclear return type specification of `cpus()` in `OS.md` #78

Open pklaschka opened 1 year ago

pklaschka commented 1 year ago

https://github.com/AdobeDocs/uxp/blob/47510097aaf62876dfe00a01e00461ce5018e6cc/src/pages/uxp/reference-js/Modules/os/OS.md?plain=1#L34-L41

It isn't clear what kind of information is in the array. Even if we don't have a perfect type definition, specifiying that this is an Array<object> (or maybe Array<any>) already increases the understanding that one can get just from reading/scanning this).