Skip to content

Commit

Permalink
refactor(editor): editor and internal editor had wrong TS type
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Beaulac authored and Ghislain Beaulac committed May 31, 2018
1 parent f19a24e commit 24ce5db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/modules/angular-slickgrid/models/column.interface.ts
Expand Up @@ -30,7 +30,7 @@ export interface Column {
defaultSortAsc?: boolean;

/** Inline editor for the cell value */
editor?: EditorType | ColumnEditor;
editor?: Editor | ColumnEditor;

/** Default to false, which leads to exclude the column from the export? */
excludeFromExport?: boolean;
Expand Down Expand Up @@ -109,7 +109,7 @@ export interface Column {
/**
* @internal used internally by Angular-Slickgrid, to copy over the Column Editor Options
*/
internalColumnEditor?: any;
internalColumnEditor?: ColumnEditor;

/** is the column editable? Goes with grid option "editable: true". */
isEditable?: boolean;
Expand Down
Expand Up @@ -41,6 +41,9 @@ export interface ColumnEditor {
value: string;
};

/** DOM element extra options */
elementOptions?: any;

/**
* Use "params" to pass any type of arguments to your Custom Editor (type: EditorType.custom)
* or regular Editor like the EditorType.float
Expand Down

0 comments on commit 24ce5db

Please sign in to comment.