WinJS and WinRT definition files [any update???]

Topics: General
Nov 20, 2013 at 3:41 PM
I am working on updating WinJS and WinRT definition files as it seems that they are not going to be.

There are inconsistencies in the WinJS documentation. Does anyone know of someone that I should talk to about this?

Example:
This MSDN page says that the errorDispatch should be passed a object made from the WinJS method WinJS.Promise.ErrorFromName( will ignore that this method is missing from the currently available copies the winjs.d.ts file)

However, this MSDN page says that the passed object should have many other methods and properties which are not fully documented
Nov 21, 2013 at 3:19 AM
I agree on the WinJS type definitions. It's not always easy, but you can often times just read the WinJS code to understand the type definition you can add. (sometimes it's a little too difficult).

Regarding WinRT API's, have a look at ToTypeScriptD.

Introductory blog post.