06/20/2018, 4:40 PM
It’s my understanding that vscode would still output the exact same errors for .js files because it knows all the type information from the referenced packages and those types would flow through my script.
By default, vscode won't report errors for type violations in .js files. I believe it may honor
// @ts-check
if you opt in to use that - but I haven't tried that out myself.