feat: add strict event type checking #4850
Annotations
10 errors
check:
packages/main/src/Calendar.ts#L525
Argument of type 'CustomEvent<any>' is not assignable to parameter of type 'this["eventDetails"]["show-month-view"]'.
|
check:
packages/main/src/Calendar.ts#L538
Argument of type 'CustomEvent<any>' is not assignable to parameter of type 'this["eventDetails"]["show-year-view"]'.
|
check:
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"'.
|
check:
packages/main/src/Input.ts#L1344
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
check:
packages/main/src/MultiComboBox.ts#L1510
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
check:
packages/main/src/ResponsivePopover.ts#L171
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
check:
packages/fiori/src/NotificationList.ts#L189
Argument of type 'string' is not assignable to parameter of type 'keyof this["eventDetails"]'.
|
check:
packages/fiori/src/NotificationListItem.ts#L603
Argument of type '{ item: this; }' is not assignable to parameter of type 'this["eventDetails"]["_press"]'.
|
check:
packages/fiori/src/UploadCollection.ts#L89
Argument of type '"drop"' is not assignable to parameter of type '"selection-change" | "item-delete"'.
|
check:
packages/ai/src/Button.ts#L62
Argument of type 'string' is not assignable to parameter of type 'never'.
|