Reputation: 577
Hey I am new to Type script, and I am wonder how would I set ResultsPer and Entries as an array?
interface IProps {
ResultsPer: number;
Entries: number
}
Upvotes: 0
Views: 24
Reputation: 2166
interface IProps {
ResultsPer: number[];
Entries: number[];
}
Upvotes: 1