Glossary: React Beyond the Basics
type argument
Also written: type arguments
A type written in angle brackets, as in `useState<CartLine[]>([])`, that tells TypeScript what a value will hold when it can't infer it.
Glossary: React Beyond the Basics
Also written: type arguments
A type written in angle brackets, as in `useState<CartLine[]>([])`, that tells TypeScript what a value will hold when it can't infer it.