Fix @typescript-eslint/unbound-method errors
This commit is contained in:
parent
ae70054e59
commit
b9a52b06c7
6 changed files with 16 additions and 21 deletions
|
|
@ -152,6 +152,7 @@ export default class Term extends React.PureComponent<TermProps> {
|
|||
return event && (!props.webLinksActivationKey || event[`${props.webLinksActivationKey}Key`]);
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
this.term.attachCustomKeyEventHandler(this.keyboardHandler);
|
||||
this.term.loadAddon(this.fitAddon);
|
||||
this.term.loadAddon(this.searchAddon);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue