Type 'string | undefined' is not assignable to type 'string'.
let name1:string = person.name as string;
Type 'string | undefined' is not assignable to type 'string'.
let name1:string = person.name as string;
ype 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string
this.property.Name = data?.Name || '{}';
Type 'string | undefined' is not assignable to type 'string'.
let name1:string = person.name!;
// ^ note the exclamation mark here
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us