Closed city41 closed 3 years ago
On the surface this doesn't look very straightforward. It's possible to dig in and detect Pick
, but it just snowballs from there, like what about Pick<A, keyof Foo>
? need to detect keyof, etc.
@city41 Yeah this might be a bit complicated. May be one of those features that require the TS type checker to work correctly.
Not going to support this.
This is a great plugin, thanks for making it!
I have found it doesn't work with
Pick<>
. I have forked the repo and added a fixtureand the resulting snapshot is
I am currently investigating and seeing if I can add support for this. If I succeed, I can send a PR your way.