From ad2285a3890442b28dfc7c668ab1b1376e17d3df Mon Sep 17 00:00:00 2001 From: ghiscoding Date: Fri, 8 Dec 2023 17:35:07 -0500 Subject: [PATCH] fix: the `devMode` should be `false` or an object with other options --- packages/common/src/interfaces/gridOption.interface.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/common/src/interfaces/gridOption.interface.ts b/packages/common/src/interfaces/gridOption.interface.ts index 7d134c9e8..cff713631 100644 --- a/packages/common/src/interfaces/gridOption.interface.ts +++ b/packages/common/src/interfaces/gridOption.interface.ts @@ -233,8 +233,8 @@ export interface GridOption { /** Default prefix for SlickGrid Event names (events created in the SlickGrid and/or DataView objects) */ defaultSlickgridEventPrefix?: string; - /** Escape hatch geared towards testing Slickgrid in jsdom based environments to circumvent the lack of stylesheet.ownerNode and clientWidth calculations */ - devMode?: false & { ownerNodeIndex?: number; containerClientWidth?: number; }; + /** Escape hatch geared towards testing Slickgrid in JSDOM based environments to circumvent the lack of stylesheet.ownerNode and clientWidth calculations */ + devMode?: false | { ownerNodeIndex?: number; containerClientWidth?: number; }; /** Draggable Grouping Plugin options & events */ draggableGrouping?: DraggableGrouping;