#Restraints on inferred types
5 messages · Page 1 of 1 (latest)
Halfheartedly, I didn't think it was working
5 messages · Page 1 of 1 (latest)
Can I do something like:
F extends (...args: infer Args) => infer R extends boolean | string
Or do I need to add another extends to check R afterwards?
Halfheartedly, I didn't think it was working