From a6b42413e4a685d13da5270ddab1a00f0a776628 Mon Sep 17 00:00:00 2001 From: Nikita <61884745+dakln@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:00:24 +0500 Subject: [PATCH] Update create-addon-json.ts --- cli/create-addon-json.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/create-addon-json.ts b/cli/create-addon-json.ts index 7bbb65f..5b32ad6 100644 --- a/cli/create-addon-json.ts +++ b/cli/create-addon-json.ts @@ -1,5 +1,5 @@ import type { AddonIcon } from "./get-addon-icon.ts"; -import type { LostConfig } from "../lib/common.ts"; +import type { AddonType, LostConfig } from "../lib/common.ts"; import type { AddonScript } from "./get-addon-scripts.ts"; import type { AddonFile } from "./get-addon-files.ts"; import type { AddonJSON } from "../lib/json.ts"; @@ -8,7 +8,7 @@ import type { AddonModule } from './get-addon-modules.ts'; import { BUILD_PATH } from "./paths.ts"; interface CreateAddonJSONOptions { - CONFIG: LostConfig<'plugin' | 'behavior'>; + CONFIG: LostConfig; ICON: AddonIcon; SCRIPTS: AddonScript[]; FILES: AddonFile[];