fix: resolve typing issue

This commit is contained in:
Wlad Meixner 2025-02-07 15:11:03 +01:00
parent 651422104d
commit 67431d19d6
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"publish": "bun publish --access public" "publish": "bun run build && bun publish --access public"
}, },
"publishConfig": { "publishConfig": {
"tag": "next" "tag": "next"

View File

@ -94,7 +94,8 @@ export const createProxyMiddleware = (config: DevProxyConfig) => {
if (config.debug) { if (config.debug) {
console.log("[PROXY]", "received response from remote", { console.log("[PROXY]", "received response from remote", {
headers: Object.fromEntries(backendResponse.headers as unknown), // biome-ignore lint/suspicious/noExplicitAny: inconsistency in TS
headers: Object.fromEntries(backendResponse.headers as any),
}); });
} }