Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97355

When using TypeScript in Visual Studio Code, how do I configure TS warnings to be shown as errors?

$
0
0

For example, this example

async function a() { await null; }

has a small warning on await in VS Code

'await' has no effect on the type of this expression. ts(80007)

How do I make that warning behave like an error in VS Code and tsc (be more visible, fail compilation)?


Viewing all articles
Browse latest Browse all 97355

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>