What is the difference between compiling typescripts in label and compiling typescripts in tsc?

Asked 1 months ago, Updated 1 months ago, 4 views

You can compile typescript using plugin in the label, but what is the difference from compiling using tsc?

Even if js and ts are mixed, if you enable allowJs in the typescript tscconfig, you can compile both javascripts and typescripts in tsc, so I feel like I can do almost the same thing for laymen.

I think I can do it with tsc because I have some problems, but I couldn't find out.

javascript typescript babeljs

2022-09-30 11:14

1 Answers

I searched in English and it was just one shot.

Choosing between Babel and TypeScript-LogRocket Blog

It seems that the differences are written in detail so that you don't need to know when using TypeScript.
The big difference is that Babel doesn't check the type.

Do you need an explanation of the type check?
Experience type checking with TypeScript tsc.
You'll find out when you experience it.


2022-09-30 11:14

If you have any answers or tips


© 2022 OneMinuteCode. All rights reserved.