Wdrożenie TypeScript

tsinterface LabeledValue {  label: string;} function printLabel(labeledObj: LabeledValue) {  console.log(labeledObj.label);} let myObj = { size: 10, label: "Size 10 Object" };printLabel(myObj);Try
Wrong Wryneck