Skip to content

Commit

Permalink
fix(item): fix item barStyle type
Browse files Browse the repository at this point in the history
  • Loading branch information
walkerkay committed Jul 4, 2020
1 parent 4cbab2c commit 374050f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gantt/src/class/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface GanttItem<T = unknown> {
expanded?: boolean;
children?: GanttItem[];
color?: string;
barStyle?: CSSStyleDeclaration;
barStyle?: Partial<CSSStyleDeclaration>;
origin?: T;
}

Expand All @@ -31,7 +31,7 @@ export class GanttItemInternal {
end: GanttDate;
links: string[];
color?: string;
barStyle?: CSSStyleDeclaration;
barStyle?: Partial<CSSStyleDeclaration>;
draggable?: boolean;
linkable?: boolean;
origin: GanttItem;
Expand Down

0 comments on commit 374050f

Please sign in to comment.