2017-05-18 49 views
1
error 'SyntheticUIEvent' is not defined no-undef 

为:eslint找不到内置流量类型

handleDocumentKeyUp = (event: SyntheticUIEvent) => {} 

我得到这个领域的开源项目之一,我的工作(eslintrc.js),但不是在自己的应用程序代码,但我无法发现linting安装中的差异或错误。

什么配置缺失/错误,这将使eslint无法找到内置流类型?

回答