We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9fa0f4 commit a6b4241Copy full SHA for a6b4241
cli/create-addon-json.ts
@@ -1,5 +1,5 @@
1
import type { AddonIcon } from "./get-addon-icon.ts";
2
-import type { LostConfig } from "../lib/common.ts";
+import type { AddonType, LostConfig } from "../lib/common.ts";
3
import type { AddonScript } from "./get-addon-scripts.ts";
4
import type { AddonFile } from "./get-addon-files.ts";
5
import type { AddonJSON } from "../lib/json.ts";
@@ -8,7 +8,7 @@ import type { AddonModule } from './get-addon-modules.ts';
8
import { BUILD_PATH } from "./paths.ts";
9
10
interface CreateAddonJSONOptions {
11
- CONFIG: LostConfig<'plugin' | 'behavior'>;
+ CONFIG: LostConfig<AddonType>;
12
ICON: AddonIcon;
13
SCRIPTS: AddonScript[];
14
FILES: AddonFile[];
0 commit comments