-
Notifications
You must be signed in to change notification settings - Fork 609
Open
Description
- I'm sure this does not appear in the issue list of the repository
Basic Info
- Package Name And Version: @arco-design/[email protected]
- Framework version: vue 3.5.17
- Browser: chrome139.0.0.0
Extra info
table.d.ts类型错误,导出了_default
import type { PropType } from 'vue';
import type { TableBorder, TableChangeExtra, TableColumnData, TableComponents, TableData, TableDraggable, TableExpandable, TableOperationColumn, TableRowSelection } from './interface';
import { PaginationProps } from '../pagination';
import { VirtualListProps } from '../_components/virtual-list-v2/interface';
import { ScrollbarProps } from '../scrollbar';
import type { BaseType } from '../_utils/types';
declare const _default;
export default _default;
What is expected?
正确的类型推断
Steps to reproduce
table缺失类型,推断成了any
<script setup lang="ts"> import { Table as ArcoTable } from "@arco-design/web-vue"; const columns = [ { title: "Name", dataIndex: "name", }, ]; const data = [ { name: "John Doe", }, ]; </script>Metadata
Metadata
Assignees
Labels
No labels