fix lint error
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
import { Terminal, ITerminalAddon } from 'xterm';
|
import { Terminal, ITerminalAddon } from 'xterm';
|
||||||
|
|
||||||
function crop(value: number, from: number, to: number) {
|
function crop(value: number, from: number, to: number): number {
|
||||||
return Math.max(from, Math.min(value, to))
|
return Math.max(from, Math.min(value, to));
|
||||||
}
|
}
|
||||||
|
|
||||||
export class SerializeAddon implements ITerminalAddon {
|
export class SerializeAddon implements ITerminalAddon {
|
||||||
|
|||||||
Reference in New Issue
Block a user