sindresorhus/type-fest

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

クローズ

#826 opened on 2024/03/07

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (471 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (12,328 個のスター)
PR merge metrics
 (平均マージ 3d 5h) (30d で 11 merged PRs)

説明

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.

コントリビューターガイド