79665037

Date: 2025-06-13 15:08:20
Score: 2
Natty:
Report link

NoInfer<T>

There's a TypeScript utility type since version 5.4 for this very use case.

async function get<U>(url: string): Promise<NoInfer<U>> {
    return getUrl<U>(url);
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: B14s