From 8027daa2b0fcb00a99328b9ba02d06668e4688f9 Mon Sep 17 00:00:00 2001 From: V Date: Tue, 4 Jul 2023 17:57:07 +0200 Subject: [PATCH] Fix types --- src/plugins/openInApp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/openInApp.ts b/src/plugins/openInApp.ts index 7d3d7d1c..83cd8289 100644 --- a/src/plugins/openInApp.ts +++ b/src/plugins/openInApp.ts @@ -20,6 +20,7 @@ import { definePluginSettings } from "@api/Settings"; import { Devs } from "@utils/constants"; import definePlugin, { OptionType } from "@utils/types"; import { showToast, Toasts } from "@webpack/common"; +import type { MouseEvent } from "react"; const ShortUrlMatcher = /^https:\/\/(spotify\.link|s\.team)\/.+$/; const SpotifyMatcher = /^https:\/\/open\.spotify\.com\/(track|album|artist|playlist|user)\/(.+)(?:\?.+?)?$/;