sindresorhus/type-fest

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

Geschlossen

#826 geöffnet am 07.03.2024

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (471 Forks)batch import
help wanted

Repository-Metriken

Stars
 (12.328 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 3T 5h) (11 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide