Skip to content

Commit d2b7cd1

Browse files
author
Matt Lewis
committed
fix: allow the package to be compiled with fullTemplateTypecheck
1 parent 286f767 commit d2b7cd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/text-input-autocomplete.directive.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ export class TextInputAutocompleteDirective implements OnDestroy {
8686
) {}
8787

8888
@HostListener('keypress', ['$event.key'])
89-
private onKeypress(key: string) {
89+
onKeypress(key: string) {
9090
if (key === this.triggerCharacter) {
9191
this.showMenu();
9292
}
9393
}
9494

9595
@HostListener('input', ['$event.target.value'])
96-
private onChange(value: string) {
96+
onChange(value: string) {
9797
if (this.menu) {
9898
if (value[this.menu.triggerCharacterPosition] !== this.triggerCharacter) {
9999
this.hideMenu();
@@ -136,7 +136,7 @@ export class TextInputAutocompleteDirective implements OnDestroy {
136136
}
137137

138138
@HostListener('blur')
139-
private onBlur() {
139+
onBlur() {
140140
if (this.menu) {
141141
this.menu.lastCaretPosition = this.elm.nativeElement.selectionStart;
142142
}

0 commit comments

Comments
 (0)