So I was trying to compare the output compiled code by these 2 combinations.
ts-loader
{ test: /\\.tsx?$/, use: \'ts-loader\',