Urigo/meteor-angular2.0-socially

Step 6.15 Load party details - Typescript compilation error in party-details.component.ts

VRspace4 opened this issue · 0 comments

Meteor output the following error when attempting to compile code from Step 6.15:

client/imports/app/parties/party-details.component.ts (33, 17): Type '{}' is not assignable to type 'Party'. Property 'name' is missing in type '{}'.

My environment:
Centos 7
Meteor v1.4.2.3
Typescript v2.1.4

Package dependencies:
"dependencies": {
   "@angular/common": "2.3.0",
   "@angular/compiler": "2.3.0",
   "@angular/core": "2.3.0",
   "@angular/forms": "2.3.0",
   "@angular/platform-browser": "2.3.0",
   "@angular/platform-browser-dynamic": "2.3.0",
   "@angular/router": "3.3.0",
   "angular2-meteor": "0.7.1",
   "angular2-meteor-polyfills": "0.1.1",
   "angular2-meteor-tests-polyfills": "0.0.2",
   "babel-runtime": "^6.18.0",
   "meteor-rxjs": "0.4.5",
   "reflect-metadata": "0.1.8",
   "rxjs": "5.0.0-rc.4",
   "zone.js": "0.7.2"
 }

Please advise.