These posts are just what I was looking for! Thank you for your easy explanation.
I may be mistaken, but I think label props in Link type on line 10 is text. (repo is correct though ![]()
The code below the sentence βLetβs create the following interfaces. β
// incorrect
interface Link {
id: number;
url: string;
label: string;
}
// correct
interface Link {
id: number;
url: string;
text: string;
}