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

0
0

React18+TS高仿AntD从零到一打造组件库

设计,开发,测试,发布再到 CI/CD,从0到1造轮子

2128 学习 · 959 问题

查看课程