Hi! I am a longtime developer with a passion to empower other developers to be their best. I focus on cloud development and everything related to data access from .NET and .NET Core.
You can. I'll be posting a follow-up article on this, but in general, the steps are:
Write modern JavaScript
Rename from .js to .ts
Compile with ES5 as your target
For smaller snippets of code, like the JavaScript I wrote for my blog search engine, I go to typescriptlang.com and simply paste it in the "playground".
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Enjoyed the clean walk trough vanilla JS. I hope and expect this to be the beginning of a great series. ;)
Can you give some hints on the .ts to es5 .js reference? Can we easily "transpile" this without any syntactic sugar with plain js as input code?
You can. I'll be posting a follow-up article on this, but in general, the steps are:
For smaller snippets of code, like the JavaScript I wrote for my blog search engine, I go to typescriptlang.com and simply paste it in the "playground".