1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-06 10:22:45 +03:00

Apply strictNullChecks to src/components/views/elements/* (#10462

* Apply `strictNullChecks` to `src/components/views/elements/*`

* Iterate

* Iterate

* Iterate

* Apply `strictNullChecks` to `src/components/views/elements/*`

* Iterate

* Iterate

* Iterate

* Update snapshot
This commit is contained in:
Michael Telatynski
2023-03-29 08:23:54 +01:00
committed by GitHub
parent cefd94859c
commit a47b3eb0ee
24 changed files with 158 additions and 121 deletions

View File

@@ -118,7 +118,10 @@ describe("EventListSummary", function () {
...mockClientMethodsUser(),
});
const defaultProps: ComponentProps<typeof EventListSummary> = {
const defaultProps: Omit<
ComponentProps<typeof EventListSummary>,
"summaryLength" | "threshold" | "avatarsMaxLength"
> = {
layout: Layout.Bubble,
events: [],
children: [],

View File

@@ -7,8 +7,8 @@ exports[`<FilterDropdown /> renders dropdown options in menu 1`] = `
role="listbox"
>
<div
aria-selected="false"
class="mx_Dropdown_option"
aria-selected="true"
class="mx_Dropdown_option mx_Dropdown_option_highlight"
id="test__one"
role="option"
>