The satisfies operator has arrived in Typescript 4.9. This article explains the purpose of the new keyword, illustrated by detailed, runnable code examples. satisfies : The basicsPutting satisfies T after an expression asks the compiler to check your work. You will get helpful compiler errors if the expression doesn’t fulfil the requirements of type T. However, its not the same as assigning to a t
![Typescript’s new ‘satisfies’ operator](https://cdn-ak-scissors.b.st-hatena.com/image/square/863b5103679930b8643f71874098d125d2c0564f/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1126%2F1%2A_i-CDIwbIhRqYd9gMjYq5A.png)