sindresorhus/type-fest

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

Open

#826 opened on 2024年3月7日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)TypeScript (12,328 stars) (471 forks)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.

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