commangular icon indicating copy to clipboard operation
commangular copied to clipboard

Typescript definition support

Open DennisJaamann opened this issue 9 years ago • 3 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

DennisJaamann avatar Oct 13 '15 07:10 DennisJaamann

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.

yukatan avatar Oct 13 '15 14:10 yukatan

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

DennisJaamann avatar Oct 13 '15 15:10 DennisJaamann

@see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/6064/

DennisJaamann avatar Nov 09 '15 09:11 DennisJaamann