diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/types.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts index 6d4b78e..c30f2c5 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -1,7 +1,7 @@ import { Command } from "../api/Commands"; // exists to export default definePlugin({...}) -export default function definePlugin(p: PluginDef & Record<string, any>) { +export default function definePlugin<P extends PluginDef>(p: P & Record<string, any>) { return p; } |