CSSTransitionProps extends问题
来源:7-8 拿来主义 - 自定义 Transition 组件编码第一部分

想翻身的码工
2020-04-02
老师问一下 我这样 写为什么没有识别出来 classNames in 这些属性,提示的错误是:
An interface can only extend an object type or intersection of object types with statically known members.
写回答
1回答
-
张轩
2020-04-02
同学你好 已经有好几个同学发现这个问题了 我之前已经做过解答 请看这里 http://coding.imooc.com/learn/questiondetail/176079.html 我还追踪了课程的修改和勘误 包括这个问题 已经提交到代码 master 分支 请看这个文档:https://shimo.im/docs/tgP9yYy9jp8HtghT
00
相似问题