Correct bad naming in TypeScript example (#253)

The interface should be named `LabeledItem` and not `LabeledValue`.
This commit is contained in:
Andreas Pelme 2017-05-10 14:20:33 +02:00 committed by Chris Angelico
parent 4600ef2c98
commit ff3b268335
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}