From 66b0377a2b1636d589629ab05497ff922887bc79 Mon Sep 17 00:00:00 2001 From: DJj123dj <80536295+DJj123dj@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:11:01 +0100 Subject: [PATCH] Update index.ts --- plugins/example-plugin/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/example-plugin/index.ts b/plugins/example-plugin/index.ts index fce3aac..c664819 100644 --- a/plugins/example-plugin/index.ts +++ b/plugins/example-plugin/index.ts @@ -10,6 +10,9 @@ if (utilities.project != "openticket") throw new api.ODPluginError("This plugin //Add Typescript autocomplete support for plugin data. (!!!OPTIONAL!!!) declare module "#opendiscord-types" { + export interface ODPluginManagerIds_Default { + "example-plugin":api.ODPlugin + } export interface ODConfigManagerIds_Default { "example-plugin:config":api.ODJsonConfig }