mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-18 17:10:09 +02:00
fix(plugin): shim definePlugin for now [ci skip]
This commit is contained in:
10
src/index.ts
10
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);
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user