Skip to content

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.

Where the book teaches it

Related terms

createContext