diff --git a/icu4j/entry/src/main/ets/pages/Index.ets b/icu4j/entry/src/main/ets/pages/Index.ets index d9b68b817a968c2e1873b899039e6fc497375cbb..cedb572c035c855241be635b716ba2023e159639 100644 --- a/icu4j/entry/src/main/ets/pages/Index.ets +++ b/icu4j/entry/src/main/ets/pages/Index.ets @@ -81,7 +81,7 @@ struct Index { }) Button($r('app.string.isSelectElement')).fontSize(24).onClick(() => { let input: intl_messageformat_parser.SelectElement = { - type: intl_messageformat_parser.TYPE.select, value: 'testValue', options: {} as ESObject + type: intl_messageformat_parser.TYPE.select, value: 'testValue', options: {} }; let typesResult: boolean = intl_messageformat_parser.isSelectElement(input); if (typesResult) { @@ -92,7 +92,7 @@ struct Index { let input: intl_messageformat_parser.PluralElement = { type: intl_messageformat_parser.TYPE.plural, value: 'testValue', - options: {} as ESObject, + options: {}, offset: 0, pluralType: undefined };