You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
Activity
yesmeck commentedon Nov 9, 2016
好像是 typescript 的正常行为。
afc163 commentedon Nov 9, 2016
。。。这么变态
yesmeck commentedon Nov 9, 2016
这里
foo
的类型是string
,不能直接 assign 给bar
。infeng commentedon Nov 9, 2016
我这边不会提示这个错误
yesmeck commentedon Nov 9, 2016
@infeng 你 typescript 是什么版本?
infeng commentedon Nov 9, 2016
2.0.8
yesmeck commentedon Nov 9, 2016
@infeng 我用 2.0.8 也有这个错误。。。
infeng commentedon Nov 9, 2016
原来我看错了,也是有这个错误。。。
infeng commentedon Nov 9, 2016
这样写可以省点功夫,不用每个fixed都写
as
O(∩_∩)Oyesmeck commentedon Nov 9, 2016
@infeng
TableColumnConfig[]
这样会报错吧,TableColumnConfig 需要一个 generic type 的。infeng commentedon Nov 9, 2016
对,最新版的是要加generic,我忘记我用的antd还是2.1.0,还没有加上generic
omnip620 commentedon Nov 9, 2016
@infeng @yesmeck 偷了个懒
columns: TableColumnConfig<any>[]=...
lock commentedon May 3, 2018
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.