Datatable d.ts fixes

pull/3689/head
Bahadır Sofuoğlu 2023-03-01 17:37:47 +03:00
parent a8970d5a1f
commit 018867d564
3 changed files with 3 additions and 15 deletions

View File

@ -493,7 +493,7 @@ export interface ColumnEmits {}
* *
* @group Component * @group Component
*/ */
export declare class Column extends ClassComponent<ColumnProps, ColumnSlots, ColumnEmits> {} declare class Column extends ClassComponent<ColumnProps, ColumnSlots, ColumnEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {

View File

@ -12,10 +12,7 @@ export interface ColumnGroupProps {
export interface ColumnGroupSlots {} export interface ColumnGroupSlots {}
/** export interface ColumnGroupEmits {}
* @group Interfaces
*/
export declare type ColumnGroupEmits = {};
declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> {} declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> {}
@ -25,13 +22,4 @@ declare module '@vue/runtime-core' {
} }
} }
/**
*
* ColumnGroup is a helper component to create grouped header and footer on DataTable.
*
* Demos:
*
* - [ColumnGroup](https://www.primefaces.org/primevue/datatable/colgroup)
*
*/
export default ColumnGroup; export default ColumnGroup;

View File

@ -1109,7 +1109,7 @@ export interface DataTableEmits {
* *
* @group Component * @group Component
*/ */
export declare class DataTable extends ClassComponent<DataTableProps, DataTableSlots, DataTableEmits> { declare class DataTable extends ClassComponent<DataTableProps, DataTableSlots, DataTableEmits> {
/** /**
* Exports the data to CSV format. * Exports the data to CSV format.
* @param {DataTableExportCSVOptions} [options] - Export options. * @param {DataTableExportCSVOptions} [options] - Export options.