/// <reference path='fourslash.ts' />

////interface Accumulator {
////    clear(): void;
////    add(x: number): void;
////    result(): number;
////}
////
////function makeAccumulator(): Accumulator {
////    var sum = 0;
////    return {
////        clear: function () { sum = 0; },
////        add: function (val/**/ue) { sum += value; },
////        result: function () { return sum; }
////    };
////}


goTo.marker();
verify.quickInfoIs("(parameter) value: number");
