Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

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

Open
japf opened this issue Jun 8, 2015 · 3 comments
Open

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

japf opened this issue Jun 8, 2015 · 3 comments

Comments

@japf
Copy link

japf commented Jun 8, 2015

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
Copy link
Contributor

mhegazy commented Jun 8, 2015

looks like a question for @alexeagle

@SalahEddin
Copy link

same problem here

@alexeagle
Copy link
Contributor

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants