Ngx-datatable: Cannot find name 'object', TS dependency greater than required by Angular 4.0.0

Created on 29 Mar 2017  路  4Comments  路  Source: swimlane/ngx-datatable

[ X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Typescript does not recognize 'object' in 'deep-getter.d.ts'

The changelog mentions a requirement on > Angular 4, however Angular 4 has a TS dependency of 2.1.0. The 'object' keyword is a feature of 2.2.0 and above.

Submitting the bug just to be clear in the changelog that there is a TS dependency greater than that required by Angular 4.0.0

  • Table version: 0.7.x
    7.1.1

  • Angular version: 2.0.x
    4.0.0

Most helpful comment

I聽had to deal with the same issue and fixed it by upgrading those dependencies:

-    "ts-node": "~2.0.0",
+    "ts-node": "^3.0.2",
     "tslint": "~4.5.0",
-    "typescript": "~2.1.0",
-    "typings": "^2.1.0"
+    "typescript": "^2.2.2",
+    "typings": "^2.1.1"

All 4 comments

Are we safe to simply install TS 2.2.0?

Should be. I ran into no issues.

Yes, 2.2 is required for Angular4.

I聽had to deal with the same issue and fixed it by upgrading those dependencies:

-    "ts-node": "~2.0.0",
+    "ts-node": "^3.0.2",
     "tslint": "~4.5.0",
-    "typescript": "~2.1.0",
-    "typings": "^2.1.0"
+    "typescript": "^2.2.2",
+    "typings": "^2.1.1"
Was this page helpful?
0 / 5 - 0 ratings

Related issues

id1945 picture id1945  路  3Comments

lautarobock picture lautarobock  路  3Comments

alceucardoso picture alceucardoso  路  3Comments

mmrath picture mmrath  路  3Comments

JanStock picture JanStock  路  3Comments