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

Asked 2 years ago, Updated 2 years ago, 122 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


© 2024 OneMinuteCode. All rights reserved.