From 0cd498beacbd23efa3b771880ff0a4df3f636836 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 24 May 2024 18:04:05 -0400 Subject: [PATCH] fix(plugin): shim definePlugin for now [ci skip] --- src/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/index.ts b/src/index.ts index 8f80c21..c4f8b08 100644 --- a/src/index.ts +++ b/src/index.ts @@ -8,3 +8,13 @@ export * from './globals'; export * from './webpack'; export * from './utils'; export * from './class-mapper'; + +/** + * @deprecated use @decky/api instead + */ +export const definePlugin = (fn: any): any => { + return (...args: any[]) => { + // TODO: Maybe wrap this + return fn(...args); + }; +}; \ No newline at end of file