swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.67k forks source link

Syntax errors in d.ts files from angular2-data-table when compiling my project #228

Closed Alcruz closed 8 years ago

Alcruz commented 8 years ago

I remove some errors messages, but errors give in every .d.ts file,

/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(8,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(8,24): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(9,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(9,19): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(10,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(10,20): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(11,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(11,21): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(12,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts(12,19): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body-row.component.d.ts(6,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body-row.component.d.ts(6,24): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body.component.d.ts(12,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body.component.d.ts(12,27): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body.component.d.ts(13,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body.component.d.ts(13,24): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/body/body.component.d.ts(14,14): error TS1005: '=' expected.
/node_modules/angular2-data-table/release/components/body/body.component.d.ts(14,23): error TS1005: ';' expected.
/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts(19,14): error TS1005: '=' expected.
amcdnl commented 8 years ago

These are generated by TS, not sure why this would occur. What TypeScript version are you using?

Alcruz commented 8 years ago

I'm using TS 2.0. This is my tsconfig file.

{
  "compileOnSave": false,
  "compilerOptions": {
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "module": "system",
    "moduleResolution": "node",
    "noImplicitAny": false,
    "noEmitOnError": false,
    "removeComments": false,
    "target": "es5"
  },
  "exclude": [
    "node_modules",
    "*.d.ts"
  ]
}

This is a snippet from my gulp file, from where I am building my source

    var srcPaths = {
        app: [
            'client/main.ts',
            'client/**/*.ts',
        ]
    };

    gulp.src(srcPaths.app)
        .pipe(gp_sourcemaps.init())
        .pipe(gp_typescript(require('./tsconfig.json').compilerOptions))
        .pipe(gulp.dest(destPaths.app));

I don't know why, but apparently it is trying to compile angular2-data-table .d.ts files.

nallarv commented 8 years ago

I am seeing the same issue too with the latest (0.12.0)

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-row-detail-template.directive.d.ts (4,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-row-detail-template.directive.d.ts (4,31): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-row-detail-template.directive.d.ts (4,49): error TS1005: '(' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-row-detail-template.directive.d.ts (4,14): error TS2304: Cannot find name 'rowDetailTemplate'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-row-detail-template.directive.d.ts (4,45): error TS2368: Type parameter name cannot be 'any'

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/pager.component.d.ts (8,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/pager.component.d.ts (8,24): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/pager.component.d.ts (8,14): error TS2304: Cannot find name 'totalPages'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (6,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (6,21): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (7,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (7,21): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (6,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (7,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (6,14): error TS2304: Cannot find name 'visible'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/footer/footer.component.d.ts (7,14): error TS2304: Cannot find name 'curPage'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-row.component.d.ts (6,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-row.component.d.ts (6,24): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-row.component.d.ts (6,14): error TS2304: Cannot find name 'isSelected'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,24): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (9,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (9,19): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (10,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (10,20): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (11,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (11,21): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (12,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (12,19): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (9,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (10,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (9,21): error TS2300: Duplicate identifier 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (10,22): error TS2300: Duplicate identifier 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (12,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (9,21): error TS2300: Duplicate identifier 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (12,21): error TS2300: Duplicate identifier 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (8,14): error TS2304: Cannot find name 'cssClasses'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (9,14): error TS2304: Cannot find name 'width'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (10,14): error TS2304: Cannot find name 'height'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (11,14): error TS2304: Cannot find name 'sortDir'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body-cell.component.d.ts (12,14): error TS2304: Cannot find name 'value'.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (12,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (12,19): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (13,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (13,23): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (12,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (13,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (12,21): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (13,25): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (12,14): error TS2304: Cannot find name 'press'.

ERROR in grid-test/node_modules/angular2-data-table/release/directives/long-press.directive.d.ts (13,14): error TS2304: Cannot find name 'longPress'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (12,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (12,27): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (13,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (13,24): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (14,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (14,23): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (12,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (13,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (12,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (14,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (13,26): error TS2300: Duplicate identifier 'string'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (14,25): error TS2300: Duplicate identifier 'string'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (12,14): error TS2304: Cannot find name 'selectEnabled'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (13,14): error TS2304: Cannot find name 'bodyHeight'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/body/body.component.d.ts (14,14): error TS2304: Cannot find name 'bodyWidth'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,19): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (12,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (12,22): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (13,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (13,22): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (14,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (14,20): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (15,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (15,22): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (16,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (16,24): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (18,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (18,21): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (19,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (19,18): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (12,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,21): error TS2300: Duplicate identifier 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (12,24): error TS2300: Duplicate identifier 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (13,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,21): error TS2300: Duplicate identifier 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (13,24): error TS2300: Duplicate identifier 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (14,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (15,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (16,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (15,24): error TS2300: Duplicate identifier 'string'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (16,26): error TS2300: Duplicate identifier 'string'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (18,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (19,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (15,24): error TS2300: Duplicate identifier 'string'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (19,20): error TS2300: Duplicate identifier 'string'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (11,14): error TS2304: Cannot find name 'width'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (12,14): error TS2304: Cannot find name 'minWidth'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (13,14): error TS2304: Cannot find name 'maxWidth'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (14,14): error TS2304: Cannot find name 'height'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (15,14): error TS2304: Cannot find name 'colTitle'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (16,14): error TS2304: Cannot find name 'cssClasses'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header-cell.component.d.ts (18,14): error TS2304: Cannot find name 'sortDir'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (6,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (6,25): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (7,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (7,26): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (6,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (7,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (6,14): error TS2304: Cannot find name 'headerWidth'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/header/header.component.d.ts (7,14): error TS2304: Cannot find name 'headerHeight'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (28,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (28,26): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (28,28): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (33,14): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (39,14): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (45,14): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (46,14): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (47,14): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (51,25): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (51,33): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (56,28): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (56,34): error TS1109: Expression expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (57,17): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (57,29): error TS1005: '(' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (57,30): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (57,44): error TS1005: ')' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (58,23): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (58,38): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (59,26): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (60,18): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (61,19): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (62,7): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (62,13): error TS1109: Expression expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (63,20): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (63,34): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (63,40): error TS1109: Expression expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (64,31): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (73,27): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (73,33): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (73,39): error TS1109: Expression expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (79,27): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (79,37): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (79,43): error TS1109: Expression expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,26): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,41): error TS1005: ',' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,49): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (81,1): error TS1128: Declaration or statement expected.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (29,9): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (30,9): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (31,9): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (37,9): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (33,14): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (39,14): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (45,14): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (46,14): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (48,9): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (49,9): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (47,14): error TS7028: Unused label.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (28,14): error TS2304: Cannot find name 'columnsByPin'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (29,15): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (30,17): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (31,16): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (33,5): error TS2304: Cannot find name 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (34,15): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (35,17): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (36,16): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (37,16): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (39,5): error TS2304: Cannot find name 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (39,24): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (45,5): error TS2304: Cannot find name 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (45,28): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (46,5): error TS2304: Cannot find name 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (46,24): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (47,5): error TS2304: Cannot find name 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (48,16): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (49,15): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (51,5): error TS2304: Cannot find name 'setSelected'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (51,17): error TS2304: Cannot find name 'selected'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (51,27): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (56,5): error TS2304: Cannot find name 'refreshRowHeightCache'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (57,5): error TS2304: Cannot find name 'setRows'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (57,13): error TS2304: Cannot find name 'rows'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (58,5): error TS2304: Cannot find name 'setOptions'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (58,16): error TS2304: Cannot find name 'options'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (59,5): error TS2304: Cannot find name 'setPage'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (59,14): error TS2304: Cannot find name 'type'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (59,20): error TS2304: Cannot find name 'value'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (60,15): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (61,16): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (63,5): error TS2304: Cannot find name 'nextSort'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (63,14): error TS2304: Cannot find name 'column'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (64,5): error TS2304: Cannot find name 'getAdjustedViewPortIndex'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (64,33): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (73,5): error TS2304: Cannot find name 'toggleRowExpansion'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (73,24): error TS2304: Cannot find name 'row'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (73,29): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (79,5): error TS2304: Cannot find name 'toggleAllRows'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (79,19): error TS2304: Cannot find name 'expanded'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (79,29): error TS2304: Cannot find name 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,5): error TS2304: Cannot find name 'getRowSelectedIdx'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,23): error TS2304: Cannot find name 'row'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,28): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,33): error TS2304: Cannot find name 'selected'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,43): error TS2304: Cannot find name 'any'.

ERROR in grid-test/node_modules/angular2-data-table/release/services/state.service.d.ts (80,51): error TS2304: Cannot find name 'number'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (19,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (19,31): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (20,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (20,28): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (20,46): error TS1005: '(' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (21,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (21,26): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (21,44): error TS1005: '(' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (19,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (20,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (19,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (21,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (19,14): error TS2304: Cannot find name 'hasHeaderTemplate'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (20,14): error TS2304: Cannot find name 'headerTemplate'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (20,42): error TS2368: Type parameter name cannot be 'any'

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (21,14): error TS2304: Cannot find name 'cellTemplate'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable-column.directive.d.ts (21,40): error TS2368: Type parameter name cannot be 'any'

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,27): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (47,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (47,24): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (48,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (48,26): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (49,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (49,25): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (50,14): error TS1005: '=' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (50,26): error TS1005: ';' expected.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (47,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,29): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (47,26): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (48,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,29): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (48,28): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (49,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,29): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (49,27): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (50,5): error TS2300: Duplicate identifier 'readonly'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,29): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (50,28): error TS2300: Duplicate identifier 'boolean'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (46,14): error TS2304: Cannot find name 'isFixedHeader'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (47,14): error TS2304: Cannot find name 'isFixedRow'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (48,14): error TS2304: Cannot find name 'isVertScroll'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (49,14): error TS2304: Cannot find name 'isHorScroll'.

ERROR in grid-test/node_modules/angular2-data-table/release/components/datatable.component.d.ts (50,14): error TS2304: Cannot find name 'isSelectable'.

amcdnl commented 8 years ago

What typescript version are you using?

kirilkalchev commented 8 years ago

Hello, I can confirm the same issue. I am using the latest typescript with version 2.0.9. This is my tsconfig:

{
  "version": "1.8.10",
  "compilerOptions": {
    "target": "es5",
    "module": "system",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": true,
    "noImplicitAny": false,
    "suppressImplicitAnyIndexErrors": true,
    "outFile": "app.js"
  },
  "filesGlob": [
    "./src/app/components/*.ts",
    "./src/app/components/views/**/*.ts",
    "./src/app/providers/*.ts",
    "./src/app/admin/*.ts",
    "./src/app/user/*.ts",
    "!src/app/admin/boot.ts",
    "!src/app/user/boot.ts",
    "!installed-components.ts"
  ],
  "exclude": [
    "node_modules",
    "app",
    "typings"
  ],
  "compileOnSave": true,
  "atom": {
    "rewriteTsconfig": false
  }
}
amcdnl commented 8 years ago

Use the release/index.js rather than the ts files.

X17 commented 7 years ago

@amcdnl

Use the release/index.js rather than the ts files.

I am unable to understand the solution, could you please provide snippet to use js rather than ts as currently importing the files as below

import { NgxDatatableModule } from '@swimlane/ngx-datatable';