From 391fc5fdeee90c765eb64617ac067c2d8d54f428 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 22:15:50 +0000 Subject: [PATCH] fix: replace any types in MultiplayerEditor and SlackUtils --- app/scenes/Document/components/MultiplayerEditor.tsx | 5 ++++- plugins/slack/shared/SlackUtils.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/scenes/Document/components/MultiplayerEditor.tsx b/app/scenes/Document/components/MultiplayerEditor.tsx index bb27f4e209..78a6fe44b2 100644 --- a/app/scenes/Document/components/MultiplayerEditor.tsx +++ b/app/scenes/Document/components/MultiplayerEditor.tsx @@ -51,7 +51,10 @@ type MessageEvent = { }; }; -function MultiplayerEditor({ onSynced, ...props }: Props, ref: any) { +function MultiplayerEditor( + { onSynced, ...props }: Props, + ref: React.Ref +) { const documentId = props.id; const history = useHistory(); const { t } = useTranslation(); diff --git a/plugins/slack/shared/SlackUtils.ts b/plugins/slack/shared/SlackUtils.ts index b9f89e82d1..e1b1b2cd50 100644 --- a/plugins/slack/shared/SlackUtils.ts +++ b/plugins/slack/shared/SlackUtils.ts @@ -16,7 +16,7 @@ export class SlackUtils { static createState( teamId: string, type: IntegrationType, - data?: Record + data?: Record ) { return JSON.stringify({ type, teamId, ...data }); }