ConversationView: Improve types

This commit is contained in:
Scott Nonnenberg
2021-08-30 14:32:56 -07:00
committed by GitHub
parent c765d3202c
commit dcf29078f4
21 changed files with 1101 additions and 941 deletions

View File

@@ -341,7 +341,9 @@ export async function joinViaLink(hash: string): Promise<void> {
window.log.info(`joinViaLink/${logId}: Showing modal`);
let groupV2InfoDialog = new window.Whisper.ReactWrapperView({
let groupV2InfoDialog:
| Backbone.View
| undefined = new window.Whisper.ReactWrapperView({
className: 'group-v2-join-dialog-wrapper',
JSX: window.Signal.State.Roots.createGroupV2JoinModal(window.reduxStore, {
join,