From 018867d5649f449e5e308114087ca96753e8a91e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Wed, 1 Mar 2023 17:37:47 +0300 Subject: [PATCH] Datatable d.ts fixes --- components/column/Column.d.ts | 2 +- components/columngroup/ColumnGroup.d.ts | 14 +------------- components/datatable/DataTable.d.ts | 2 +- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/components/column/Column.d.ts b/components/column/Column.d.ts index dbaca6e3f..a7722336f 100755 --- a/components/column/Column.d.ts +++ b/components/column/Column.d.ts @@ -493,7 +493,7 @@ export interface ColumnEmits {} * * @group Component */ -export declare class Column extends ClassComponent {} +declare class Column extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents { diff --git a/components/columngroup/ColumnGroup.d.ts b/components/columngroup/ColumnGroup.d.ts index 597a7bb63..ce1e36e37 100755 --- a/components/columngroup/ColumnGroup.d.ts +++ b/components/columngroup/ColumnGroup.d.ts @@ -12,10 +12,7 @@ export interface ColumnGroupProps { export interface ColumnGroupSlots {} -/** - * @group Interfaces - */ -export declare type ColumnGroupEmits = {}; +export interface ColumnGroupEmits {} declare class ColumnGroup extends ClassComponent {} @@ -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; diff --git a/components/datatable/DataTable.d.ts b/components/datatable/DataTable.d.ts index 088b34403..9fe88af01 100755 --- a/components/datatable/DataTable.d.ts +++ b/components/datatable/DataTable.d.ts @@ -1109,7 +1109,7 @@ export interface DataTableEmits { * * @group Component */ -export declare class DataTable extends ClassComponent { +declare class DataTable extends ClassComponent { /** * Exports the data to CSV format. * @param {DataTableExportCSVOptions} [options] - Export options.