I have a problem with Visual Studio 2013 generating too many errors when building a web application with typescript definition files. For example consider the following scenario:
- Start a new Empty Web Application
- Right click on project and select Manage Nuget Packages
- Add jquery and jquery typings (the typings I downloaded are a couple of days old)
- Build the project
- Project builds successfully with more than 100 errors (errors, not warnings), all in jquery.d.ts, like the following:
- ',' expected.
- '=' expected.
- Identifier expected.
I get similar results when I do the same with angularjs instead of jquery.
Any ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…