Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

fix(types): declare module lintapple and remove unused ts-expect-error

IGECT1d172b234ae4
diff --git a/src/app.d.ts b/src/app.d.ts
index aec25a7d..4aac9762 100644
--- a/src/app.d.ts
+++ b/src/app.d.ts
@@ -3,4 +3,6 @@ declare const __GIT_BRANCH__: string;
declare const __APP_VERSION__: string;
declare const __BUILD_DATE__: string;
+declare module "lintapple";
+
declare namespace App {}
diff --git a/src/lib/ui-lint.test.ts b/src/lib/ui-lint.test.ts
index f20e57dc..aa696079 100644
--- a/src/lib/ui-lint.test.ts
+++ b/src/lib/ui-lint.test.ts
@@ -1,7 +1,6 @@
import { describe, it, expect } from "vitest";
import fs from "node:fs";
import path from "node:path";
-// @ts-expect-error lintapple ships untyped ESM root export
import { validatePolicy } from "lintapple";
describe("UI Lint Policies & Target Runner", () => {