From 151f2eef8a72faa57608185e4d09005404b251bf Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sun, 9 Oct 2022 01:59:21 +0200 Subject: [PATCH] Improve plugin typings --- src/utils/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/types.ts b/src/utils/types.ts index 6d4b78e95..c30f2c51a 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) { +export default function definePlugin

(p: P & Record) { return p; }