Given a type such as:
type PromiseFunc = () => Promise; type A = { key1: string; key2: string; key3: PromiseFunc; key4: string; ke