1// You can now use the non-null assertion operator that is here exactly
2// for your use case.
3// It tells TypeScript that even though something looks like it could
4// be null, it can trust you that it's not:
5let name1:string = person.name!;
6// ^ note the exclamation mark here