【发布时间】:2018-06-17 07:52:06
【问题描述】:
我安装了材料 ui@next,我在节点模块中出现了这个错误。
ERROR in [at-loader] ./node_modules/material-ui/Avatar/Avatar.d.ts:8:15
11:31:52 web.1 | TS2315: Type 'ReactType' is not generic.
11:31:52 web.1 | ERROR in [at-loader] ./node_modules/material-ui/Button/Button.d.ts:7:15
11:31:52 web.1 | TS2315: Type 'ReactType' is not generic.
11:31:52 web.1 | ERROR in [at-loader] ./node_modules/material-ui/ButtonBase/ButtonBase.d.ts:10:15
11:31:52 web.1 | webpack: Failed to compile.
【问题讨论】:
标签: javascript node.js forms reactjs material-ui