Optimize sort and filter in log page
This commit is contained in:
9
src/ant-design.d.ts
vendored
9
src/ant-design.d.ts
vendored
@@ -1,14 +1,17 @@
|
||||
import * as React from 'react'
|
||||
import { CustomIconComponentProps } from '@ant-design/icons/es/components/Icon'
|
||||
import { TablePaginationConfig } from 'antd/lib'
|
||||
import { FilterValue } from 'antd/es/table/interface'
|
||||
import { ColumnsType, FilterValue, SorterResult, SortOrder } from 'antd/es/table/interface'
|
||||
|
||||
declare global {
|
||||
type IconComponent =
|
||||
| React.ComponentType<CustomIconComponentProps | React.SVGProps<SVGSVGElement>>
|
||||
| React.ForwardRefExoticComponent<CustomIconComponentProps>
|
||||
|
||||
type PaginationConfig = TablePaginationConfig
|
||||
type _TablePaginationConfig = TablePaginationConfig
|
||||
|
||||
type FilterVal = FilterValue
|
||||
type _ColumnsType<T> = ColumnsType<T>
|
||||
type _FilterValue = FilterValue
|
||||
type _SorterResult<T> = SorterResult<T>
|
||||
type _SortOrder = SortOrder
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user