Skip to content

Commit

Permalink
fix(plugin): shim definePlugin for now [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
AAGaming00 committed May 24, 2024
1 parent b728d90 commit 0cd498b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
};

0 comments on commit 0cd498b

Please sign in to comment.