Merge pull request #1752 from Tyriar/improve_dec
Improve types for listener args in .d.ts
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user