Skip to content

Commit 2f92532

Browse files
njleonzhangzhongsp
authored andcommitted
Update Interfaces.md (zhongsp#224)
1 parent 2f63a9a commit 2f92532

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/handbook/Interfaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ interface Counter {
468468
}
469469

470470
function getCounter(): Counter {
471-
let counter = <Counter>function (start: number) { };
471+
let counter = <Counter>function (start: number): string { return '' };
472472
counter.interval = 123;
473473
counter.reset = function () { };
474474
return counter;

0 commit comments

Comments
 (0)