Recent update of Visual Studio gives hundreds of errors that did not exist

337
2
02-20-2026 07:18 AM
Brian_McLeer
MVP Regular Contributor

In several custom widgets, I had them free of errors in VS. After updating to VS 18.3 earlier this month (and the recent 18.3.1), I am receiving errors I have not seen before. They don't seem like real errors, but I would like to know if anyone has any tips to resolve them. Below are examples of common error types. 

errors.png
 

 

 

 

 

2 Replies
JeffreyThompson2
MVP Frequent Contributor

Those all look like TypeScript errors. Types are supposed to be strictly defined with all the properties in each object, if they aren't all correctly defined TypeScript will throw an error. But just because TypeScript says something won't work, doesn't mean it won't actually work. TypeScript errors should be treated more as warnings that you could be doing something wrong. 

GIS Developer
City of Arlington, Texas
Brian_McLeer
MVP Regular Contributor

A recent update of VS prompted me to do the following steps to resolve the issue.

Go to Tools > Options > Preview Features > Uncheck Enable JavaScript/TypeScript Native Language Service Preview

Brian_McLeer_0-1778780063479.png