Skip to content

Commit

Permalink
fix: the devMode should be false or an object with other options
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Dec 8, 2023
1 parent 25608be commit ad2285a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/common/src/interfaces/gridOption.interface.ts
Expand Up @@ -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;
Expand Down

0 comments on commit ad2285a

Please sign in to comment.