brunano21 / angular-4-data-table

An Angular 5 data table, with pagination, sorting, expandable rows, row selection, etc. with basic accessibility support.
MIT License
11 stars 19 forks source link

ng build --prod Error in angular5-data-table.d.ts.DataTablePagination #32

Closed jeanDenison closed 6 years ago

jeanDenison commented 6 years ago

ERROR in node_modules/angular5-data-table/angular5-data-table.d.ts.DataTablePagination.html(3,11): : Argument of type 'number | "0"' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'. Type 'number' is not assignable to type '(substring: string, ...args: any[]) => string'.

brunano21 commented 6 years ago

@jeanDenison which lib version are you using? This should be fixed already into v1.0.1.

jeanDenison commented 6 years ago

Thank you I was using ver. 1.0.0 just updated to v1.0.1 and problem is fixed .