Typescript - What is the difference between null and undefined? : <p>I want to know what is the difference between null and undefined in typescript. I know in javascript it is possible to use both of them in order to check a variable has no value. But in typescript I want to know the difference exactly and when it is better to use each one of them.
Thanks.</p>
