We would like to touch on one more important subject: type safety at runtime. This knowledge will come in very handy when you need to deal with external data sources.
In the previous chapter, we used the class-transformer library in order to easily serialize/deserialize our objects. This time, we'll discover another way of doing things that will add more safety to our code.