Build error “Cannot find name 'Record'” with bootstrap 4

后端 未结 6 1993
逝去的感伤
逝去的感伤 2021-02-01 03:31

Today, I decided to migrate my ASP .NET MVC 5 project from bootstrap 3 to bootstrap 4 (the sass version).

After the migration, I got an error after the compilation of my

6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-01 04:06

    For Visual Studio 2015:

    I downloaded TypeScript, installed and restarted Visual Studio. While restarting it prompted me the TypeScript my solution uses is older than what is installed(2.9.2) and whether I want to update it to the supported version, I clicked Yes and that fixed the issue.

    My guess is TypeScript 2.9.2 is for VS 2017 maybe.

提交回复
热议问题