[TS] Add definition for plugin object

This commit is contained in:
redstonekasi 2023-01-30 22:34:14 +01:00 committed by Beef
parent 9e34b8c1f3
commit 2e6f9e238a

6
src/def.d.ts vendored
View file

@ -272,6 +272,12 @@ interface VendettaObject {
version: string;
}
interface VendettaPluginObject {
manifest: PluginManifest,
storage: Indexable<any>,
showSettings: () => void,
}
declare global {
type React = typeof _React;
interface Window {