microsoft / ngconf2015demo

TodoMVC application demo for ng-conf 2015
392 stars 116 forks source link

'angular2/angular2' has no exported member NgFor / bind #35

Open japf opened 9 years ago

japf commented 9 years ago

Trying to build this demo app, I got the following errors from the TypeScript compiler:

todo.ts(1,37): error TS2305: Module 'angular2/angular2" has no exported memeber 'ngFor'. todo.ts(1,44): error TS2305: Module 'angular2/angular2" has no exported memeber 'bind'.

mhegazy commented 9 years ago

looks like a question for @alexeagle

SalahEddin commented 9 years ago

same problem here

alexeagle commented 9 years ago

I can't reproduce. With a clean checkout of the repo and following the instructions, it works for me. Can you compare your typings/angular2/angular2.d.ts with the published version at https://github.com/borisyankov/DefinitelyTyped/blob/master/angular2/angular2.d.ts ?