chore: Removing some any

This commit is contained in:
Tom Moor
2024-01-05 23:25:05 -05:00
parent 89d905ebb7
commit 140526af06
5 changed files with 10 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ import * as Sentry from "@sentry/react";
import { EditorView } from "prosemirror-view";
import { toast } from "sonner";
import { v4 as uuidv4 } from "uuid";
import type { Dictionary } from "~/hooks/useDictionary";
import FileHelper from "../lib/FileHelper";
import uploadPlaceholderPlugin, {
findPlaceholder,
@@ -9,7 +10,7 @@ import uploadPlaceholderPlugin, {
export type Options = {
/** Dictionary object containing translation strings */
dictionary: any;
dictionary: Dictionary;
/** Set to true to force images and videos to become file attachments */
isAttachment?: boolean;
/** Set to true to replace any existing image at the users selection */