Skip to content

Commit

Permalink
Merge pull request #6 from FrogTheFrog/patch-1
Browse files Browse the repository at this point in the history
fix(types): use the same Plugin type as decky-loader
  • Loading branch information
AAGaming00 authored Jul 8, 2024
2 parents 02556eb + 0ccebd7 commit 813b4fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,13 @@ export interface DeckyRequestInit extends RequestInit {
}

export interface Plugin {
title: JSX.Element;
name: string;
version?: string;
icon: JSX.Element;
content?: JSX.Element;
onDismount?(): void;
alwaysRender?: boolean;
titleView?: JSX.Element;
}

export type DefinePluginFn = () => Plugin;

0 comments on commit 813b4fc

Please sign in to comment.