标签: typescript realm realm-mobile-platform realm-list
所以我有这个错误。
“ undefined []”类型的转换 键入“结果”可能是一个错误,因为这两种类型都不足以相互重叠。如果这是故意的,请先将表达式转换为“未知”。
对于这一行代码。
const account ={ accountList: [] as Realm.Results<Account> , }
任何关于我的建议都可以摆脱吗?。