Conform more code to strictNullChecks and noImplicitAny (#11156)

This commit is contained in:
Michael Telatynski 2023-06-28 14:05:36 +01:00 committed by GitHub
parent 46eb34a55d
commit 6836a5fa7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 36 additions and 19 deletions

View file

@ -185,7 +185,7 @@ function renderComponent(props: Partial<ComponentProps<typeof VerificationPanel>
const defaultProps = {
layout: "",
member: {} as User,
onClose: () => undefined,
onClose: () => {},
isRoomEncrypted: false,
inDialog: false,
phase: props.request.phase,