From f8eaf358bcda26ff2005af64469948597eb430da Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Fri, 29 Dec 2023 12:45:15 -0500 Subject: [PATCH] fix(core): `SlickGroupItemMetadataProvider` should implements `SlickPlugin` --- .../common/src/extensions/slickGroupItemMetadataProvider.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/common/src/extensions/slickGroupItemMetadataProvider.ts b/packages/common/src/extensions/slickGroupItemMetadataProvider.ts index 264ef33ac..51ca7e316 100644 --- a/packages/common/src/extensions/slickGroupItemMetadataProvider.ts +++ b/packages/common/src/extensions/slickGroupItemMetadataProvider.ts @@ -9,6 +9,7 @@ import type { GroupItemMetadataProviderOption, ItemMetadata, OnClickEventArgs, + SlickPlugin, } from '../interfaces/index'; /** @@ -19,8 +20,8 @@ import type { * This class also acts as a grid plugin providing event handlers to expand & collapse groups. * If "grid.registerPlugin(...)" is not called, expand & collapse will not work. */ -export class SlickGroupItemMetadataProvider { - pluginName = 'SlickGroupItemMetadataProvider' as const; +export class SlickGroupItemMetadataProvider implements SlickPlugin { + pluginName = 'GroupItemMetadataProvider' as const; protected _eventHandler: SlickEventHandler; protected _grid!: SlickGrid; protected _options: GroupItemMetadataProviderOption;