-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the JSDoc return type for getEntityRecords (#21630)
* Fix the JSDoc return type for getEntityRecords `getEntityRecords` can actually return null based on the return type of `getQueriedItems` which it calls. I can confirm it behaves this way in the implementation so its a bug with JSDoc type for getEntityRecords. I did wonder if this would be desired behaviour though. Since getEntityRecords is a selector I think it could make more sense for it to always return an empty array to represent its empty state. * Run docs:build
- Loading branch information
1 parent
a32e961
commit 6074400
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters