
I am in the midst of searching for my first job as a developer, and I recently interviewed at a company for which I thought I would be a great fit....
For further actions, you may consider blocking this person and/or reporting abuse
Excellent article, really enjoyed reading it. 🙌 To add something in, it might be worth mentioning that interface properties could be declared as optional by using
?
at the end of the name, I find it as quite useful feature. ⭐ Again, thanks for sharing! ⭐Ah yes, that would be great to include! Thank you for the suggestion, and for the kind words. I am glad you enjoyed it!
Thank you so much ♡
Just a question , what's the difference between array and enum?
The main difference is that an array is a value and an enum is a type. And One main difference we can say that an array is a collection of other values (that is it contains other values, you can iterate through them or access individual ones by index), whereas an enum value is simply one atomic value
Won't TypeScript complain about
Hip-Hop
enum which is not wrapped into quotes?🤔Yes, it will! I should have omitted the hyphen 🤦♂️. Thanks for the catch!
Hey @shane__lonergan
The very first code example contains TypeScript.
I am guessing this should be regular JavaScript.
Do I need to know JS before learning TS ?
Yes, TypeScript isn't a replacement for JavaScript. Its intent is to enhance JS by making it typed, but for the most part you'll still be writing JS.
Okay! I got it.. Thanks... Have A Great Day
Thank you for the introduction !
This is great! Very well-written 😄
Typo "sumSongs" on interface, "numSongs" on object
You're not using the compiler Shane .... !!
Congratz, good article.
Thank you for your kind words, and for letting me know about the typo! And yes, I figured I would save the compiler for its own post.
Thanks shane good article
Good intro, but you have many typos in your code snippets.
Thank you very much for this, can you please shade more light on enums?
Interesting article! Thank you
Thanks for sharing.
Amazing !
keep going, bro
Hi is this a typo?
type FlexibleNumber = number | string
let luckyNumber: flexibleNumber = 13
What the difference between types and interfaces? I thought before the interface is for class and type for the object.
I liked the article! It is simple and has all the basic relevant facts :)