enum Punc { Comma = ',', Stop = '.' } interface TextElement { textNormal?: string textBR?: string textUS?: string pron?: string[] punc?: Punc choices?: string[] } let myText: string = 'I canceled the button in 1983.' let textElements: Array<TextElement> = [ { textNormal: 'I' }, { textBR: 'cancelled', textUS: 'canceled' }, { textNormal: 'the' }, { textNormal: 'button', choices: ['boot, bottom'] }, { textNormal: 'in' }, { textNormal: '1983', pron: ['发音1', '发音2'] }, { punc: Punc.Stop } ]