sindresorhus/type-fest
View on GitHubReadonlyDeep: add test for function or method returning an object?
Open
#826 opened on Mar 7, 2024
help wanted
Repository metrics
- Stars
- (12,328 stars)
- PR merge metrics
- (Avg merge 3d 5h) (11 merged PRs in 30d)
Description
Reading through the ReadonlyDeep type and its tests, I can't tell if ReadonlyDeep<() => Map>() would return a Map or a ReadonlyDeep<Map>. The tests just don't cover that sort of case.