fix lint error

This commit is contained in:
javacs3
2019-07-15 09:42:56 +08:00
parent bca90245c8
commit f859bffa74
@@ -5,8 +5,8 @@
import { Terminal, ITerminalAddon } from 'xterm';
function crop(value: number, from: number, to: number) {
return Math.max(from, Math.min(value, to))
function crop(value: number, from: number, to: number): number {
return Math.max(from, Math.min(value, to));
}
export class SerializeAddon implements ITerminalAddon {