[Solved] Sourcecode - TypeScript Errors

Discussions about the preview versions of Virtual Radar Server.
Forum rules
Please bear in mind if you do install a preview version that it is unfinished code, there may be bugs, bits missing, things that don't work etc.

Posts in this forum will not show up in forum search results. Old threads will be pruned occasionally.
Post Reply
Datamix
Posts: 57
Joined: Thu Aug 10, 2017 7:36 pm

[Solved] Sourcecode - TypeScript Errors

Post by Datamix » Sun Dec 24, 2017 3:15 pm

I tried to build VRS using the sourcecode. But I got a lot of TypeScript erros such as:
  • TS2503
  • TS2504
  • TS2511
  • TS2522
  • TS2545
  • TS2559

Therefore I can't build the program.

I'm using:

Visual Studio 2017 Enterprise
TypeScript 2.5
Last edited by Datamix on Mon Jan 08, 2018 3:33 pm, edited 1 time in total.
VRS: v3 (30-SEP-2018)

Datamix
Posts: 57
Joined: Thu Aug 10, 2017 7:36 pm

Re: [Solved] Sourcecode - TypeScript Errors

Post by Datamix » Mon Jan 08, 2018 3:33 pm

I don't know why but uninstalling the integrated TypeScript Version (2.5.3) and installing Version 2.6.2 over NPM worked.
VRS: v3 (30-SEP-2018)

agw
Posts: 2130
Joined: Fri Feb 17, 2012 3:20 am

Re: [Solved] Sourcecode - TypeScript Errors

Post by agw » Sat Jan 20, 2018 1:17 am

Visual Studio is a pain in the backside with TypeScript versions, it's a new version every month and each one has breaking changes. They need to calm down, and also take backwards compatibility more seriously.

I have pinned the version of TypeScript to version 2.3 in the latest source in master, although there's something up with the custom content plugin's csproj that is stopping it from picking up the setting at the moment. Once I've got the pinning working then I'll update it to 2.5.

Datamix
Posts: 57
Joined: Thu Aug 10, 2017 7:36 pm

Re: [Solved] Sourcecode - TypeScript Errors

Post by Datamix » Sat Jan 20, 2018 6:45 pm

Good to hear I'm not the only one struggling with TypeScript and Visual Studio.
VRS: v3 (30-SEP-2018)

Post Reply