Skip to content
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

Typescript definition problems #2035

Closed
meriturva opened this issue Jun 15, 2015 · 4 comments
Closed

Typescript definition problems #2035

meriturva opened this issue Jun 15, 2015 · 4 comments

Comments

@meriturva
Copy link

Hi! we have few errors when we integrate the definition file angular-ui-router.d.ts on our projects.
Here the errors:

Import declaration conflicts with local declaration of 'ng' 
Cannot find name 'IServiceProvider'.
Cannot find name 'IPromise'.

I think namespaces are changed...my two cents.

@eddiemonge
Copy link
Contributor

Um no idea. Maybe someone with TypeScript could help out here? My initial reaction is to drop that file altogether but thats because I don't use TypeScript yet.

@christopherthielen
Copy link
Contributor

The ts file was user contributed. We added it to the repo as a courtesy. If there are errors, I'd love if you would submit a PR.

@liciniomendes
Copy link

Problem is that on api/angular-ui-router.d.ts module is declared as declare module ng.ui and must be declare module angular.ui {.

File seems a bit outdated I can take a look at it if needed.

@wesleycho
Copy link
Contributor

This should be addressed with 63f4476 from #1990. Please use the implementation in https://github.com/borisyankov/definitelytyped

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

No branches or pull requests

5 participants