When I type For example console.logsss in vscode with .js no error show up but when i changed it to .ts i got an error,why this simple thing not work with .js extension ?