type-fest
type-fest copied to clipboard
ReadonlyDeep: add test for function or method returning an object?
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.
Upvote & Fund
- We're using Polar.sh so you can upvote and help fund this issue.
- The funding will be given to active contributors.
- Thank you in advance for helping prioritize & fund our backlog.
Ditto for getters on a class.