feature request: TypeScript annotation file for knockout
It would be really nice to use such powerful technologies as TypeScript and Knockout together, all it takes is a type definition file. I would appreciate if somebody with deep knowledge of Knockout made it. Thank you.
This would be great.
There are a couple of first stabs at this I have found. 1 is here at SO and others are linked to it. http://stackoverflow.com/questions/12689716/typescript-with-knockoutjs
How can the function "applyBindings" be used?
Something like this:
export function applyBindings(viewModel?, rootNode?: HTMLElement);
This would get my vote as well. There is a good community project for various .d.ts files at https://github.com/borisyankov/DefinitelyTyped but I'd prefer one from the KO team!
@covobonomo / @conficient - if either of you would be keen to maintain a .ts file for KO, I'd be very happy to feature it on the KO website. Although I appreciate you would prefer the KO core team to produce one, we have only finite capacity and are focused on making the core library as rich and solid as possible :)
Please feel free to reopen this if you would like to continue the discussion