You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have aт aspnet core project where *.ts got deployed into wwwroot. Some of ts files are typings (from DefinetlyTyped). So very unclear reason existence that typescript files in wwwroot force dotnet/VS run TypeScript compiler.
First of all it's completely redundant. I compile all ts files already and copied them into wwwroot with my client build tools. But moreover it can produce errors. For example if mentined typing targets a newer version of TypeScript compiler than installed globally.
In case compilation of the aspnet project fails with the following error:
Error TS5023 Build:Unknown compiler option 'strictFunctionTypes'.
I'm getting the error in VS and Rider but not in cli (dotnet build).