diff --git a/Build/download-previous-build.ts b/Build/download-previous-build.ts index 2392a671..ffa3fe2c 100644 --- a/Build/download-previous-build.ts +++ b/Build/download-previous-build.ts @@ -65,7 +65,10 @@ export const downloadPreviousBuild = task(import.meta.path, async (span) => { const extract = tarStream.extract(); pipeline( - Readable.fromWeb(resp.body as any), + Readable.fromWeb( + // @ts-expect-error -- DOM type is incompatible with Node type + resp.body + ), gunzip, extract ); diff --git a/Build/lib/cache-filesystem.ts b/Build/lib/cache-filesystem.ts index 1135e791..f38e8d5a 100644 --- a/Build/lib/cache-filesystem.ts +++ b/Build/lib/cache-filesystem.ts @@ -85,7 +85,8 @@ export class Cache { if (type) { this.type = type; } else { - this.type = 'string' as any; + // @ts-expect-error -- fallback type + this.type = 'string'; } const db = new Database(path.join(this.cachePath, 'cache.db')); diff --git a/Source/domainset/cdn.conf b/Source/domainset/cdn.conf index ff795d2c..1e6919ae 100644 --- a/Source/domainset/cdn.conf +++ b/Source/domainset/cdn.conf @@ -2303,7 +2303,6 @@ tiles.stadiamaps.com e3.365dm.com proxy.beyondwords.io .images.arcpublishing.com -cdn.ziffstatic.com static.euronews.com static.killedbygoogle.com cdn.pagic.org diff --git a/tsconfig.json b/tsconfig.json index 3712ef2f..d095f647 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { "target": "esnext", + "lib": ["DOM", "DOM.Iterable"], "moduleDetection": "force", "module": "esnext", "moduleResolution": "bundler", - "types": ["bun-types"], "allowImportingTsExtensions": true, "allowJs": true, "noEmit": true,