feat: add strict event type checking #6116
Annotations
11 errors
|
Test Build:
packages/main/src/Calendar.ts#L525
Argument of type 'CustomEvent<any>' is not assignable to parameter of type 'this["eventDetails"]["show-month-view"]'.
|
Test Build:
packages/main/src/Calendar.ts#L538
Argument of type 'CustomEvent<any>' is not assignable to parameter of type 'this["eventDetails"]["show-year-view"]'.
|
Test Build:
packages/main/src/Input.ts#L227
Argument of type '"value-changed"' is not assignable to parameter of type '"change" | "close" | "input" | "select" | "open" | "selection-change" | "type-ahead" | "suggestion-scroll"'.
|
Test Build:
packages/main/src/Input.ts#L1344
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
Test Build:
packages/main/src/MultiComboBox.ts#L1510
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
Test Build:
packages/main/src/ResponsivePopover.ts#L171
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
Test Build:
packages/fiori/src/NotificationList.ts#L189
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
Test Build:
packages/fiori/src/NotificationListItem.ts#L603
Argument of type '{ item: this; }' is not assignable to parameter of type 'this["eventDetails"]["_press"]'.
|
Test Build:
packages/fiori/src/UploadCollection.ts#L89
Argument of type '"drop"' is not assignable to parameter of type '"selection-change" | "item-delete"'.
|
Test Build:
packages/ai/src/Button.ts#L62
Argument of type 'string' is not assignable to parameter of type 'never'.
|
Loading