R
R
ravshan selimov2020-08-23 18:18:27
typescript
ravshan selimov, 2020-08-23 18:18:27

Is there some type of transcompiler (for the browser) for typescript?

Hello.

Started learning typescript.
Is there something like a transcompiler for typescript so that you don't have to constantly compile (collect).
Needed only at the development stage.

To connect a typescript file to the page, and that's it, and there some tool turned into js code

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-08-23
@ravshan01

If cheap and cheerful: tsc --watchbut an adequate option is to use systems with live reload, for example, one of the proposed Alexey Yarkov .
You still need to connect js, compile on the fly in the browser - madness and nonsense, because. you will not be able to follow the changes and will have to manually reload the page each time and recompile the entire code each time, and not the delta as in the normal way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question