var x: { readonly [A in keyof B]?: any; };