mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
fix lint error
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user