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:
parent
cefd94859c
commit
a47b3eb0ee
24 changed files with 158 additions and 121 deletions
|
@ -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: [],
|
||||
|
|
|
@ -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"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue