Like below, the vscode will show type error because missing a 'aa' type in the data field. Well, how can I fix it elegantly?
interface A { data: Record<'aa' | 'bb', string>}let a: A = { data: { bb: "" }}
Also I put a typescript playground link, hope you guy can quickly understand what I mean. Thanks very much.