Skip to content

Commit 416869a

Browse files
committed
fix: ts error
1 parent 3456029 commit 416869a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/components/table/interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export interface BaseTableRef {
4646
tableHtmlElement: HTMLTableElement;
4747
tableContentElement: HTMLDivElement;
4848
affixHeaderElement: HTMLDivElement;
49+
onAffixHeaderMount: (nodeOrCallback: HTMLDivElement | ((node: HTMLDivElement) => void)) => HTMLDivElement | void;
4950
refreshTable: () => void;
5051
scrollToElement: (params: ScrollToElementParams) => void;
5152
scrollColumnIntoView: (columnIndex: string) => void;

packages/components/table/utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { get, isFunction, isObject } from 'lodash-es';
22

33
import { getIEVersion } from '@tdesign/common-js/utils/helper';
4-
import { AffixProps } from '../affix';
5-
import { ClassName, HTMLElementAttributes } from '../common';
4+
5+
import type { AffixProps } from '../affix';
6+
import type { ClassName, HTMLElementAttributes } from '../common';
67
import type {
78
BaseTableCellParams,
89
CellData,

0 commit comments

Comments
 (0)