sindresorhus/type-fest

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

已关闭

#826 创建于 2024年3月7日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (471 个派生)batch import
help wanted

仓库指标

星标
 (12,328 个星标)
PR 合并指标
 (平均合并 3天 5小时) (30 天内合并 11 个 PR)

描述

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.

贡献者指南