Correct bad naming in TypeScript example (#253)
The interface should be named `LabeledItem` and not `LabeledValue`.
This commit is contained in:
parent
4600ef2c98
commit
ff3b268335
|
@ -205,7 +205,7 @@ approaches related to structural subtyping in Python and other languages:
|
|||
size?: int;
|
||||
}
|
||||
|
||||
function printLabel(obj: LabeledValue) {
|
||||
function printLabel(obj: LabeledItem) {
|
||||
console.log(obj.label);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue