how to undefined number in typescript code example
Example: string undefined typescript
let name1:string = person.name!;
// ^ note the exclamation mark here
let name1:string = person.name!;
// ^ note the exclamation mark here