Durandal SPA issues with typescript

后端 未结 1 1866
眼角桃花
眼角桃花 2021-01-27 06:56

I am updated my durandal SPA application from VS_2012 to VS_2015 with TypeScript 1.8 which will generate JavaScript (ECMA5). I resolved all build errors.But I am unable to fix o

1条回答
  •  梦毁少年i
    2021-01-27 07:31

    You cannot just return something from empty space, you can use Self-invoking function

    (function() {
        return new typescript1_8();
    })();
    

    0 讨论(0)
提交回复
热议问题