I am in the process of porting some javascript code to typescript and using requirejs. I have a config.ts:
//file config.ts
///
You can extend existing TypeScript interfaces out of the box. To define your own binding handlers, all you need to do is:
myBindings.d.ts
)add the following code
interface KnockoutBindingHandlers {
csharpTypes: KnockoutBindingHandler;
}