diff --git a/package.json b/package.json index 2673aa1..49c8c4d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@decky/api", - "version": "1.0.1", + "version": "1.0.2", "description": "Library for interacting with Decky Loader.", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/index.ts b/src/index.ts index ac77476..e01549d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -66,4 +66,9 @@ export const executeInTab: ( export const injectCssIntoTab: (tab: string, style: string) => string = api.injectCssIntoTab; export const removeCssFromTab: (tab: string, style: string) => void = api.removeCssFromTab; -export declare const definePlugin: (fn: DefinePluginFn) => DefinePluginFn; +export const definePlugin = (fn: DefinePluginFn): DefinePluginFn => { + return (...args) => { + // TODO: Maybe wrap this + return fn(...args); + }; +}; \ No newline at end of file