Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Add typescript declaration file #198

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

gomoto
Copy link

@gomoto gomoto commented Dec 13, 2016

This pull request adds a TypeScript declaration file. TypeScript users will automatically get type information without separately installing types using typings or npm. TypeScript suggests bundling types with an npm package.

@robertjd
Copy link
Member

Thans @gomoto ! Is this something that was auto-generated, or did you have to write it manually? @mraible could you take a look at this with your IDE?

@gomoto
Copy link
Author

gomoto commented Dec 13, 2016

Wrote it manually based on the documentation, and tried to emulate the type declarations for existing angular modules like angular-animate.

@mraible
Copy link
Contributor

mraible commented Jan 10, 2017

From my Java development experience, I try to stay away from "I" prefixes for interfaces. Can you change this PR to remove them? Also, what's the use case for this change? Are you developing an Angular 1.x app with TypeScript?

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

Successfully merging this pull request may close these issues.

3 participants