mirror of
https://github.com/outline/outline.git
synced 2026-11-28 08:14:58 +03:00
fix: replace any types in MultiplayerEditor and SlackUtils
This commit is contained in:
1 parent
cbcf7d6a8e
commit
391fc5fdee
2 files changed
+5
-2
No files matched your search
@@ -51,7 +51,10 @@ type MessageEvent = {
|
||||
};
|
||||
};
|
||||
|
||||
function MultiplayerEditor({ onSynced, ...props }: Props, ref: any) {
|
||||
function MultiplayerEditor(
|
||||
{ onSynced, ...props }: Props,
|
||||
ref: React.Ref<unknown>
|
||||
) {
|
||||
const documentId = props.id;
|
||||
const history = useHistory();
|
||||
const { t } = useTranslation();
|
||||
|
||||
@@ -16,7 +16,7 @@ export class SlackUtils {
|
||||
static createState(
|
||||
teamId: string,
|
||||
type: IntegrationType,
|
||||
data?: Record<string, any>
|
||||
data?: Record<string, unknown>
|
||||
) {
|
||||
return JSON.stringify({ type, teamId, ...data });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user