Give bids in NewBidTable an explicit type

This commit is contained in:
Forrest Wolf 2022-05-25 17:16:59 -04:00
parent 3a9a9b1c6e
commit f992a9ba04

View File

@ -112,7 +112,7 @@ function TableRowEnd(props: { entry: Entry | null; isNew?: boolean }) {
function NewBidTable(props: { function NewBidTable(props: {
steps: number steps: number
bids: any[] bids: Array<{yesBid: number, noBid: number}>
setSteps: (steps: number) => void setSteps: (steps: number) => void
setBids: (bids: any[]) => void setBids: (bids: any[]) => void
}) { }) {