Why doesn’t the “tsc” transpilation command work in Create-React-App?
The short answer is that create-react-app has the “noEmit” setting set to “true” by default.
The tsc command used by itself will look for the tsconfig.json file in the current and parent directories.
thiscomputer codefolder % tsc
This sounds similar to compilation done in the C language by the gcc command. But it’s not the same.
The purpose of “noEmit” is to only use Typescript for type checking and nothing else.