User input in ts
how do you get user input in Typescript?
Voters
BananaJellyfish (206)
This should tell you: https://v2.angular.io/docs/ts/latest/guide/user-input.html
JacobMcPherson1 (195)
@BananaJellyfish I mean like in the console not on a website
There seems to be a misunderstanding of what TS is here, TS compiles to JS, it doesn't provide anything that JS doesn't have.
You should use whatever JS API is available, with TS typings to ensure that it is being used correctly.
I don't know how to accept input in Node.js, but in Deno I've got an example: https://replit.com/@xxpertHacker/FinancialEnviousConversion