标签: javascript ecmascript-6 immutable.js flowtype
当我指定{ store }类型为immutable.js Map时,我收到此错误:
{ store }
[flow] [flow] property store(Map中找不到属性)var store: 任何
store
代码:
export const Width = (props: any, { store }: Map<*,*>) => {
如何摆脱错误?