Skip to content

Commit

Permalink
fix: inconsistent template data types
Browse files Browse the repository at this point in the history
  • Loading branch information
optimistex committed Jan 20, 2022
1 parent 3e20dd2 commit afd52e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/lib/ngx-select/ngx-select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ export class NgxSelectComponent implements INgxSelectOptions, ControlValueAccess
@ViewChild('input') public inputElRef: ElementRef;
@ViewChild('choiceMenu') protected choiceMenuElRef: ElementRef;

@ContentChild(NgxSelectOptionDirective, {read: TemplateRef, static: true}) public templateOption: NgxSelectOptionDirective;
@ContentChild(NgxSelectOptionDirective, {read: TemplateRef, static: true}) public templateOption: TemplateRef<NgxSelectOptionDirective>;

@ContentChild(NgxSelectOptionSelectedDirective, {read: TemplateRef, static: true})
public templateSelectedOption: NgxSelectOptionSelectedDirective;
public templateSelectedOption: TemplateRef<NgxSelectOptionSelectedDirective>;

@ContentChild(NgxSelectOptionNotFoundDirective, {read: TemplateRef, static: true})
public templateOptionNotFound: NgxSelectOptionNotFoundDirective;
public templateOptionNotFound: TemplateRef<NgxSelectOptionNotFoundDirective>;

public optionsOpened = false;
public optionsFiltered: TSelectOption[];
Expand Down

0 comments on commit afd52e5

Please sign in to comment.