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
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
定义ref<TableColumnsType>类型的columns出现TS Error:类型实例化过深,且可能无限"
TS Error appears in columns defining ref<TableColumnsType> type: the type instantiation is too deep, and may be infinite"
Dec 16, 2021
Version
3.0.0-alpha.15
Environment
win10, Chrome96.0.4664.45, TS4.5.3, vite2.7.1
Reproduction link
https://no-repro.com
Steps to reproduce
1:
const columns = ref<TableColumnsType>([])
2:
<a-table :columns="columns"></a-table>
template中a-table出现ts error: "类型实例化过深,且可能无限"
What is expected?
可以给a-table传入**
ref<TableColumnsType>
**类型的columnsWhat is actually happening?
template中a-table出现ts error:"类型实例化过深,且可能无限"
The text was updated successfully, but these errors were encountered: