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.

贡献者指南