From 2e6f9e238a0cf4740364e1fab05dd818dda3e6f0 Mon Sep 17 00:00:00 2001 From: redstonekasi Date: Mon, 30 Jan 2023 22:34:14 +0100 Subject: [PATCH] [TS] Add definition for plugin object --- src/def.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/def.d.ts b/src/def.d.ts index 4be0889..7ef0af1 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -272,6 +272,12 @@ interface VendettaObject { version: string; } +interface VendettaPluginObject { + manifest: PluginManifest, + storage: Indexable, + showSettings: () => void, +} + declare global { type React = typeof _React; interface Window {