Open dckc opened 8 months ago
@dckc I rebased https://github.com/endojs/endo/pull/1933 on top of master so I rebased this PR on top of that. https://github.com/endojs/endo/tree/ta/dc-Passable-types has the result.
I don't totally get what it buys. Does it make sense to try getting #1933 into master and coming back to this?
I think that's not even a functional change. The Exclude<...> is redundant: the never already says that.
So it's just a refactor for clarity/conciseness.
A few type tests to show that the types are equivalent might be worthwhile.
suggestions for #1933
I think the pass-style stuff is complete. The patterns stuff is just a start.
The marshal stuff is probably superfluous.