export interface Word { value: string; meaning: string; extra: string; } export type Dict = { [field in keyof Word as `${field}Title`]: string; } & { words: (Word & { star: boolean })[] };