
Dec. 23, 2021
10:07 p.m.
Cool. Do you know if it’s very useful in TS? Was it hard to implement there? On Thu, Dec 23, 2021 at 13:32 James H-B <gobot1234yt@gmail.com> wrote:
Technically this is something that TypeScript supports with conditional types, Exclude, and intersections (this is not my own example).
https://www.typescriptlang.org/play?#code/C4TwDgpgBAcg9sAggHkQGigFQHxQLxQCiA... _______________________________________________ Typing-sig mailing list -- typing-sig@python.org To unsubscribe send an email to typing-sig-leave@python.org https://mail.python.org/mailman3/lists/typing-sig.python.org/ Member address: guido@python.org
-- --Guido (mobile)