You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Failure to compile. Message is below:
Error: node_modules/smart-webcomponents-angular/index.d.ts:13784:18 - error TS2430: Interface 'GanttChart' incorrectly extends interface 'BaseElement'.
Types of property 'scrollTo' are incompatible.
Type '{ (date: Date): void; (options?: ScrollToOptions | undefined): void; }' is not assignable to type '{ (options?: ScrollToOptions | undefined): void; (x: number, y: number): void; }'.
Types of parameters 'date' and 'x' are incompatible.
Type 'number' is not assignable to type 'Date'.
13784 export interface GanttChart extends BaseElement, GanttChartProperties {
~~~~~~~~~~
Error: node_modules/smart-webcomponents-angular/index.d.ts:14767:84 - error TS2344: Type 'GanttChart' does not satisfy the constraint 'Element'.
Types of property 'scrollTo' are incompatible.
Type '{ (date: Date): void; (options?: ScrollToOptions | undefined): void; }' is not assignable to type '{ (options?: ScrollToOptions | undefined): void; (x: number, y: number): void; }'.
Types of parameters 'date' and 'x' are incompatible.
Type 'number' is not assignable to type 'Date'.
14767 getElementsByTagName(qualifiedName: "smart-gantt-chart"): HTMLCollectionOf<GanttChart>;
~~~~~~~~~~
Describe the bug
Failure to compile. Message is below:
tsconfig.json
Desktop (please complete the following information):
Additional context
Downgrading to 18.0.2 resolves the issue
The text was updated successfully, but these errors were encountered: