Closed brokenprogrammer closed 3 years ago
Props sent to components should be typed:
interface Props { something: string setSomething: (arg: string) => void } function SongBrowser({ something, setSomething } : Props) { ...
Props sent to components should be typed: