Skip to content

Commit

Permalink
fix(pagination): remove internal annotation
Browse files Browse the repository at this point in the history
`isEllipsis` was an internal field used in the template,
and that was thowing errors with the Angular compiler option `fullTemplateTypeCheck`.
This removes the internal annotation.

Fixes #2038

Closes #2041
  • Loading branch information
cexbrayat authored and pkozlowski-opensource committed Dec 15, 2017
1 parent 79dc2fb commit f1137aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pagination/pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ export class NgbPagination implements OnChanges {

ngOnChanges(changes: SimpleChanges): void { this._updatePages(this.page); }

/**
* @internal
*/
isEllipsis(pageNumber): boolean { return pageNumber === -1; }

/**
Expand Down

0 comments on commit f1137aa

Please sign in to comment.