如果我要扩展一个React.Component
例如。
class MyClass extends React.Component {
constr// with point here, can this complete "constructor"
}
是否有可能完成这些React.Component
方法,例如。constructor
?
我当前的 ~/.tern-config 确实启用了反应库,例如。
{
"libs": [
"react",
// etc.
],
// etc.
}
它确实提供了 doc/url 信息React.Component
,但没有完成这些方法。我已经阅读了大量的 tern 文档,但无法确定是否应该支持。