sindresorhus/type-fest
Vedi su GitHubReadonlyDeep: add test for function or method returning an object?
Open
#826 aperta il 7 mar 2024
help wanted
Metriche repository
- Star
- (12.328 star)
- Metriche merge PR
- (Merge medio 4g 18h) (9 PR mergiate in 30 g)
Descrizione
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.