sindresorhus/type-fest

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

Open

#826 geöffnet am 7. März 2024

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (12.328 Stars) (471 Forks)batch import
help wanted

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