yukatan / commangular

Command framework for AngularJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typescript definition support

DennisJaamann opened this issue · comments

Hello, just wondering whether this is somewhere in the pipeline of things to add for the library?

TypeScript support is really the way to go in my humble opinion since it is become more and more prominent in the angular world.

Best regards,

Dennis

Hi,
What exactly would you expect when you say definition support?? I'm not familiarized with Typescript yet, but I think the only way to do it compatible is to rewrite commangular with typescript. If not.. I really don't know what I have to add to give that support.

Simply stated, a TypeScript definition file lets you work with ES5 code (in this case commangular) in a TypeScript way.

@see https://github.com/borisyankov/DefinitelyTyped
@see http://www.typescriptlang.org/Handbook#writing-dts-files

The question was more if you were considering supporting this already, not a call to action.
It is an open source community so who knows when it will pop up ;)

Cheers