Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(ci): resolve knip unused export and stale entry pattern (#1667)

Hampusc06e958eb5da
diff --git a/fluxer_api/src/api/utils/FetchUtils.ts b/fluxer_api/src/api/utils/FetchUtils.ts
index 49c812ed5..69e657e4a 100644
--- a/fluxer_api/src/api/utils/FetchUtils.ts
+++ b/fluxer_api/src/api/utils/FetchUtils.ts
@@ -11,7 +11,7 @@ const client: HttpClient = createHttpClient({
});
const scopedClients = new Map<RequestUrlPolicy, Map<number, HttpClient>>();
-export interface SendRequestOptions {
+interface SendRequestOptions {
maxRedirects?: number;
requestUrlPolicy?: RequestUrlPolicy;
}
diff --git a/knip.json b/knip.json
index fd5320528..2c8dd5eff 100644
--- a/knip.json
+++ b/knip.json
@@ -44,8 +44,7 @@
"native/*/index.{js,d.ts}",
"native/*/loader-diagnostics.cjs",
"native/*/*.test.mjs",
- "native/*/test/**/*.mjs",
- "native/*/scripts/**/*.mjs"
+ "native/*/test/**/*.mjs"
],
"project": ["src/**/*.{ts,tsx,mjs,js}", "scripts/**/*.mjs", "native/**/*.{js,mjs,cjs,d.ts}"],
"ignoreDependencies": ["electron-builder"]