Below is my tsconfig.json
file where I have set target to es5
and module to es6
{
"compilerOptions": {
"target": "es5",
"module": "es6"
}
}
My question is because modules [import / export ] are part of es6 and NOT es5 , the transpiled javascript code should not be having import / export statements. But the javascript code that is generated is having import / export statements even though the target is es5 , how is it possible ?