moff / angular2-ladda

Angular 2 Ladda module
MIT License
97 stars 20 forks source link

Cannot find name 'keof' #13

Closed andreagrossetti closed 6 years ago

andreagrossetti commented 7 years ago

After upgrading from 1.0.6 to 1.1.1 I got this error using webpack [default] /node_modules/angular2-ladda/module/ladda-config.d.ts:9:20 Cannot find name 'keyof'. [default] /node_modules/angular2-ladda/module/ladda-config.d.ts:9:26 ';' expected. [default] Checking finished with 2 errors

theodorejb commented 7 years ago

keyof is a new operator in TypeScript 2.1. The error should go away if you update your TypeScript dependency to v2.1+.

codal-jdave commented 7 years ago

I have "typescript": "2.1.1" can You please help me @theodorejb same issue

moff commented 7 years ago

@codal-jdave do you have something in your app that requires TypeScript 2.0? Can you show your package.json?