sindresorhus/type-fest

ReadonlyDeep: add test for function or method returning an object?

Open

#826 aperta il 7 mar 2024

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (471 fork)batch import
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.

Guida contributor