Typescript error TS1005: ';' expected

前端 未结 3 2392
眼角桃花
眼角桃花 2021-02-20 03:21

I am trying compile this typescript file:

import http = module(\"http\");
import express = module(\"express\");

With these parameters:

3条回答
  •  清酒与你
    2021-02-20 04:05

    I was getting these errors with a .Net Core application in Visual Studio Professional 2019, I got the 16.4.4 update and applied that which in turn had a requirement to reboot the computer which of course closed and then re-opened the solution. After this, the various TS errors went away.

提交回复
热议问题