Den-dp / ui-grid-auto-fit-columns

The plugin ensures that the column width will be wide enough for showing the longest data of that column (or column name).
MIT License
12 stars 8 forks source link

Fail to compile source code #21

Closed imben1109 closed 4 years ago

imben1109 commented 7 years ago

Hi. I tried to compile the source by the following commands npm run prebuild npm run build But, it throws the exception as below.

src/UiGridAutoFitColumnsService.ts(1,22): error TS2307: Cannot find module 'lodash/object/get'. src/UiGridAutoFitColumnsService.ts(33,26): error TS4073: Parameter 'grid' of public method from exported class has or is using private name 'IExtendedGridInstance'. src/UiGridAutoFitColumnsService.ts(40,44): error TS4070: Parameter 'gridOptions' of public static method from exported class has or is using private name 'IExtendedGridOptions'. src/UiGridAutoFitColumnsService.ts(70,37): error TS4073: Parameter 'colDef' of public method from exported class has or is using private name 'IExtendedColumnDef'. src/UiGridAutoFitColumnsService.ts(70,62): error TS4073: Parameter 'col' of public method from exported class has or is using private name 'IExtendedGridColumn'. src/UiGridAutoFitColumnsService.ts(70,96): error TS4073: Parameter 'gridOptions' of public method from exported class has or is using private name 'IExtendedGridOptions'. src/UiGridAutoFitColumnsService.ts(85,32): error TS4070: Parameter 'colDef' of public static method from exported class has or is using private name 'IExtendedColumnDef'. src/UiGridAutoFitColumnsService.ts(89,5): error TS4055: Return type of public method from exported class has or is using private name 'IExtendedGridColumn'. src/UiGridAutoFitColumnsService.ts(89,55): error TS4073: Parameter 'renderedColumnsToProcess' of public method from exported class has or is using private name 'IExtendedGridColumn'.