types: correct some types [skip ci]
This commit is contained in:
parent
514665fecd
commit
1bddd2824f
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { createStorage } from "@core/vendetta/storage";
|
||||
import { Author } from "@lib/addons/types";
|
||||
import { createStorage } from "@lib/api/storage";
|
||||
import { Logger } from "@lib/utils/logger";
|
||||
|
||||
export interface PluginRepo {
|
||||
|
|
@ -47,7 +47,7 @@ export interface PluginInstanceInternal extends PluginInstance {
|
|||
export interface BunnyPluginProperty {
|
||||
readonly manifest: BunnyPluginManifestInternal;
|
||||
readonly logger: Logger;
|
||||
createStorage<T>(): ReturnType<typeof createStorage<T>>;
|
||||
createStorage<T extends object>(): ReturnType<typeof createStorage<T>>;
|
||||
}
|
||||
|
||||
export type BunnyPluginObject = typeof window.bunny & {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue