sindresorhus/type-fest

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

Open

#826 建立於 2024年3月7日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)TypeScript (12,328 star) (471 fork)batch import
help wanted

描述

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.

貢獻者指南