Fix addon lint

This commit is contained in:
Daniel Imms
2018-01-17 10:20:04 -08:00
parent 5888cd7938
commit 70236f6818
13 changed files with 94 additions and 97 deletions
+5 -5
View File
@@ -32,12 +32,12 @@ export function findPrevious(terminal: any, term: string): boolean {
return (<SearchHelper>terminal.searchHelper).findPrevious(term);
};
export function apply(terminalConstructor) {
terminalConstructor.prototype.findNext = function(term) {
export function apply(terminalConstructor: any): void {
terminalConstructor.prototype.findNext = function(term: any): boolean {
return findNext(this, term);
}
};
terminalConstructor.prototype.findPrevious = function(term) {
terminalConstructor.prototype.findPrevious = function(term: any): boolean {
return findPrevious(this, term);
}
};
}