d11 theme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
577 B

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SuggestionCollector = void 0;
const helpers_1 = require("./helpers");
class SuggestionCollector {
constructor(size, minScore) {
this.size = size;
this.minScore = minScore;
this.results = [];
}
get collection() {
return this.results.concat([]);
}
get sortedCollection() {
return this.collection.sort(helpers_1.compareResults);
}
}
exports.SuggestionCollector = SuggestionCollector;
//# sourceMappingURL=SuggestionCollector.js.map