TS Wizards: anyone know why this `GetResultData` generic type isn't returning the data in the first parameter?

From my understanding of infer I thought this would work, but I'm apparently getting something wrong.

https://typescriptlang.org/play/?ts=5.6.2#code/C4TwDgpgBAShDOBXANsAPAFQCIENg4BooMBRAJzIHsyA+KAXgFgAoKKAHygG8W2+okAY0EJ4ALijAyiCAG5e-KABM8OCdlXzWfAL4LOPbfyEj44qADMcyeHIX8IFauvJUyW-jq0tQkKAHEIYDgkVFx8TDombQwoCAAPYAgAOyV4WAQUdABLZItHYnDCKBxkkDoAfkLVKAlkiAA3R29mX2gAZURhUQYM0PR4KVyAcyIAI0pKZAhSmha2qHah5OGQrN7A4Myw1TRO7rM5lgB6Y74APQqgA…

Source: x.com/mattpocockuk/status/1835590123896852857

Reply to this note

Please Login to reply.

Discussion

No replies yet.