---
title: "Infer keyword"
description: "The infer keyword lets you infer the type of a generic type parameter inside a conditional type."
dependencies: ["conditional-type"]
link: "https://www.typescriptlang.org/docs/handbook/2/conditional-types.html#inferring-within-conditional-types"
---