How can I configure TypeScript to output classes, consts, lets, etc., instead of converting everything to vars and functions? My TypeScript version is 2.4.1.
Below is my current tsconfig file:
{
"compilerOptions": {
/* Basic Options */
"target": "es2017", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
"module": "es2015", /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"moduleResolution": "node",
"strict": false, /* Enable all strict type-checking options. */
"lib": [
"es2015",
"dom",
"es2016",
"es2017"
],
"alwaysStrict": true
}
}