Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Oct 8, 2018
1 parent e6fd177 commit 7941499
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"ngx-toastr": "^8.8.0",
"rxjs": "^6.2.1",
"terminus-core": "^1.0.0-alpha.48",
"terminus-terminal": "^1.0.0-alpha.48",
"terminus-terminal": "^1.0.0-alpha.55",
"typescript": "^2.9.2",
"webpack": "^2.3.3"
},
Expand Down
4 changes: 2 additions & 2 deletions src/decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export class LinkHighlighterDecorator extends TerminalDecorator {
terminal.frontend.contentUpdated$.pipe(
debounceTime(500)
).subscribe(() => {
if (!terminal.frontend.term) {
if (!(terminal.frontend as any).term) {
return
}
this.insertLinks(terminal.frontend.term.screen_)
this.insertLinks((terminal.frontend as any).term.screen_)
})
}

Expand Down

0 comments on commit 7941499

Please sign in to comment.