Property 'then' does not exist on type 'Element' in Wix error. HELP!!!!

I am not a coder so this is all new to me. Right now after using Giri’s suggestions it looks like the only errors are on the 2 lines below.

line 28: “Rank” : ‘Rank’ , error I get states the below.
Type ‘{ Rank: string; firstName: string; lastName: string; Consistory: string[]; }’ is not assignable to type ‘ContactInfo’. Object literal may only specify known properties, and ‘“Rank”’ does not exist in type ‘ContactInfo’. It’s recommended you use a new variable, such as “let newVar = …” to make sure that all code completion work correctly.

last line - }) error I get states the below,
‘}’ expected.
Parsing error: Unexpected token