The key to achieving goals

Tim Mouskhelichvili
Tim Mouskhelichvili
2 minutes to read

I hope you and your family are doing great!

In last week's email, we discussed achieving your goals and the power of planning.

Planning is a powerful tool indeed.

But there is something much more powerful. Something without which you will NEVER achieve anything worthwhile.

I am talking, of course, about DISCIPLINE.

Discipline is when you don't want to do something but do it anyway.

  • It is when you are tired, but you still do the work.
  • It is when you don't want to study but do it anyway.
  • It is when you don't want to learn to code but do it anyway.

Motivation comes and goes. Discipline must always stay.

Discipline is a muscle.

Train your discipline, and you will become UNSTOPPABLE.

Tip of the week

Let's say you have an existing type. 

You want to create a NEW type from it WITH an additional property.

How do you do it?

Easy. You can use the intersection type to create a new type from the original one.

extend a type

As you can see, the Article type contains the property from the ArticleContent type and the new one.

Cool right? Learn more about extending types here.

Article of the week

For today's article, we will learn how to fix the “type annotations can only be used in typescript files” error. Check out the tutorial here.

Blog update

I made contacting me on all blog pages easier using the tawk.to plugin. I also fixed some SEO issues (it's not interesting, I know). Apart from that no other updates!

YouTube update

My latest YouTube video is out. It explains how to ignore the node_modules folder in Git. Check it out here.

Thank you for reading. 

See you next week!

Tim M.

Comments (0)
Reply to: