ListResource.getItems null return type
Open
- Dominant language
- JavaScript
- Stars
- 7
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/FNNDSC/fnndsc/blob/26f4345a99c4486faedb732afe16fc1f14265d54/js/chrisAPI/src/resource.js#L326-L332
I don't think this function ever returns null.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open js/chrisAPI/src/resource.js at lines 326-332 and inspect ListResource.getItems. Confirm whether the function can return null, then update its declared return type if appropriate. The change is done when the declaration matches the function's actual return behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100