Join Slack
Powered by
I couldn't find a way to use a `Generic[MyProtocol...
# random
b
bitter-ability-32190
10/07/2022, 6:45 PM
I couldn't find a way to use a
Generic[MyProtocolType | None]
But setting it to
Generic[MyProtocolType]
and just setting the typevar to
Any
suffices. I wish we had optional generic args 😕
Open in Slack
Previous
Next