EDIT
This question does not answer my question. I'm NOT asking what TS is NOR what it's used for. I'm asking specific questions about it. I'd like clarity on some concepts.
I don't believe this is a duplicate. Someone was kind enough to answer with a simple yes/no questions that I had.
I pointed out a specific concept of TS that I had a question about pointing to an example that I am currently using. I specifically would like to know if I needed to add the keyword string somewhere within my example.
Also, besides transpiler stuff, I just asked if pretty much all the steps I would take to deploy an application in TS would be similar to how it would be done with regular JS.
EDIT END
If applicable, I'd just like a simple yes/no to these questions. Any expounding on the answer is up to you. The yes/no answer will help me figure out how to go about writing this app.
For Typescript(TS), if we can agree that one aspect of it is that pretty much all valid Javascript(JS) is also valid TS.
Example:
const [toggle, setToggle] = useState('');
Would this need to be changed in any way to comply with TS convention/rules? I feel like I'd have to define string
with that useState somehow.
Also, besides transpiler usage and all the dependencies installed, would this just be the same process as I would use in JS to get to deployment? As in, would I need to worry about anything else that would be unique to TS that could prevent me from deploying like normal?