Fix TS errors

This commit is contained in:
2026-06-29 09:41:02 +02:00
parent 4b06dbbcec
commit 2e62d2d810
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export function defineTool<T = any, K extends string = string>(
key: K,
name: string,
icon: () => JSX.Element,
defaultSettings: () => T = () => null,
defaultSettings: () => T = () => null as any,
): DefinedTool<T, K> {
const tool: DefinedTool<T, K> = {
key,
-1
View File
@@ -1,6 +1,5 @@
import ImageTracer from "imagetracerjs";
import type { TracerOptions } from "./interface";
import { last } from "lodash";
import { VERSION } from "./constants";