Understanding `infer` properly - Deno