Official community definition (.d.ts) site

Topics: General
Oct 9, 2012 at 12:59 AM

I've suggested the creation of an official community .d site. I think this will be extraordinarily helpful considering I know of a few people who are already working on translating some API's into .d.ts, myself included. Ultimately I think having one place to share and collaborate on these files will be better than having them spread across multiple sites/repositories.

If you're interested vote here: http://typescript.codeplex.com/workitem/191

Or if you have a better idea please share.

Oct 9, 2012 at 2:48 AM

You can find several definitions here:

https://github.com/borisyankov/DefinitelyTyped

I am thinking on creating a web site front-end with automatic nuget package generation.

Oct 9, 2012 at 3:59 AM

nice :)

Oct 9, 2012 at 5:48 AM

Excellent Boris! I think it would be very handy to have the library version numbers as well.

Oct 9, 2012 at 8:09 AM

My contribution:

Underscore.js (https://github.com/alvivi/typescript-underscore), almost feature complete: browser, oo-style and functional-style.

Underscore.string.js (https://github.com/alvivi/typescript-underscore-string), need some work.

Titanium (Appcelerator) (https://github.com/alvivi/typescript-titanium), 10K lines of definitions :P work in progress.

Oct 9, 2012 at 10:49 AM

I'm working on definitions for AngularJS at http://github.com/markrendle/AngularTS.

I think agreeing on some standards for NuGet packages around naming and the location of the definition files would be the most advantageous thing at this point.

For example, should all packages start with "typescript-" and then the name of the library?

And if all packages put the .d.ts files in a folder called "tsdefinitions"?

Has there been any discussion around this inside Microsoft?

Oct 11, 2012 at 10:39 PM
Edited Oct 12, 2012 at 10:55 AM

Twitter Bootstrap JS plugins definitions

https://github.com/PulsarBlow/TypeScript-TwitterBootstrap

Oct 12, 2012 at 5:29 PM

Dynamics CRM 2011

http://xrmdevel.blogspot.com/2012/10/typescript-crm-2011-client-scripting.html

Oct 15, 2012 at 12:48 AM

Dojo 1.6.0 API

https://github.com/stopyoukid/DojoToTypescriptConverter

This was generated from the dojo api.json file, so the output won't be 100% accurate, but at least its a start.