The rest of the owl: Knockout BindingHandlers with Typescript?

后端 未结 1 743
天涯浪人
天涯浪人 2021-01-18 10:46

I am trying in earnest to follow the accepted answer for this. I\'m using Knockout, Typescript, MVC, VS2017 and node modules for most of my packages. The problem I\'m having

相关标签:
1条回答
  • 2021-01-18 11:14

    added this to the top of extensions.ts:

    /// <reference path="./customKoBindings.d.ts" />
    

    in my main.ts added this:

    import { KnockoutExtensions} from "./Common/extensions"
    const koExt = new KnockoutExtensions();
    
    0 讨论(0)
提交回复
热议问题