[TS] Add definition for plugin object
This commit is contained in:
parent
9e34b8c1f3
commit
2e6f9e238a
1 changed files with 6 additions and 0 deletions
6
src/def.d.ts
vendored
6
src/def.d.ts
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue