-
Notifications
You must be signed in to change notification settings - Fork 3k
Identifier 'angular' must be imported from a module #2955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Repro here: https://github.com/jonrimmer/typescript-bug
|
So, I was thinking this might be a TypeScript issue, so have raised it there as well: microsoft/TypeScript#10638 (comment) |
I believe it's not just ui-router's error, because i'm getting that one on each my file where i using interfaces from angular. |
According to mhegazy:
import * as angular from "angular";
import IInjectorService = angular.auto.IInjectorService; |
thanks @jonrimmer |
This was fixed in beta.3 via 71bfaa0 |
1.0.0-beta.1 gives a type error when used with TypeScript:
The text was updated successfully, but these errors were encountered: