Reputation: 1387
I am having issues with typescript and angular 1.5, on build I get the error error TS2339: Property 'component' does not exist on type 'IModule'.
is there a definition file that includes this somewhere that I am missing
Upvotes: 3
Views: 1010
Reputation: 10191
The latest d.ts file now has the component method. Update yours with tsd update -o
Upvotes: 5
Reputation: 8959
We had a kinda similar issue earlier today and it was to do with using Angular 1.5. Beta 1 which doesn't contain the component function. To fix it we had to upgrade to Angular 1.5 Beta 2 which does contain the component functon.
Upvotes: 0