DEV Community

loading...

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

Collapse
misselliev profile image
Elizabeth Villalejos Author

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

Forem Open with the Forem app