Merge pull request #1752 from Tyriar/improve_dec

Improve types for listener args in .d.ts
This commit is contained in:
Daniel Imms
2018-10-26 13:24:01 -07:00
committed by GitHub
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ export class MockTerminal implements ITerminal {
handler(data: string): void {
throw new Error('Method not implemented.');
}
on(event: string, callback: () => void): void {
on(event: string, callback: (...args: any[]) => void): void {
throw new Error('Method not implemented.');
}
off(type: string, listener: XtermListener): void {