angular-google-maps
angular-google-maps copied to clipboard
Feature request: Typescript definitions
Are there any typescript definitions available for this library?
no and there are no plans. Microsoft is not on the radar.
Seems like people from Angular Project are thinking different http://www.itworld.com/article/2894936/googles-angular-2-being-built-with-microsofts-typescript.html
@danielmariz notice this was 12 months ago. Well before angular had that on the road map.
so now do you have ts definitions available?
No. But it would be welcome now as a PR.
+1
Ugh well this was decided way before Angular / Google decided to go with TypeScript. I will consider it, but someone else needs to lead the way and start a small PR. Then I can follow in. +1's are not welcomed as it benefits no one.
If you want it done and done fast then contribute.
Re-opening
Also note if more people start +1 I will lock the issue. Give meaningful feedback like directions and design ideas instead.
Possible guide on getting up to speed on tsd http://definitelytyped.org/guides/creating.html
I think someone can come up with TypeScript Definition for this library.
I will accept a PR; but I have no plans on working on this.
Is anyone working on a Typescript Definition?
If not I am going to start one as I need it for my current project, then I will publish to DefinitelyTyped once done and tested in anger.
@testpossessed i think your "it"
FYI there are already 2 google maps definition entries you could use or leverage
- https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/google-maps
- https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/googlemaps
I have the first of these definitions loaded, but of course it is not being matched by the tools because there is nothing declaring that the angular component is returning these types.
On initial look it seems there is little angular-google-maps specific that needs to be declared other than the script loader and api, the rest of of the objects exposed are google-maps specific, but this is just an initial look I may be wrong and find more as I work through it.
@testpossessed did you end up solving this?