DEV Community

Discussion on: Upgrade your React game with TypeScript: Interfaces, types and components

Collapse
 
misselliev profile image
Elizabeth Villalejos

It's interface CandyBar.
For example within that interface, okToSell: boolean would be the name of the property and the type.