11 Replies
why does default bar become any, but foo works?
thanks that worked! however now fails with
hm yea this is weird
this is something but not probably the right solution
oof still any
really don't want to poison all references with generics but it seems it's inevitable
what is your use case?
a mini trpc
seems impossible without having BaseRouter be a mapped type itself sorta like
ok gimme a sec to look through this
Im out of ideas
maybe someone it matts discord can help
https://discord.gg/BT5NW6W4
thanks for the efforts, I've been at this for several days
(and yeah already there lol https://discord.com/channels/997886693233393714/1129809460966207558)
maybe take a look at the trpc repo
might be helpful
have it on the side too and it's pure sorcery too lol, but looks like mapping
annoyingly finally solved
nvm loses type enforcement for BaseRouter