We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e76de9 commit 8350852Copy full SHA for 8350852
src/build/patches.ts
@@ -408,7 +408,7 @@ function sanitizeRemovals(obj: unknown): unknown {
408
}
409
if (obj && typeof obj === "object") {
410
const newObj: { [key: string]: unknown } = {};
411
- for (const [key, value] of Object.entries(obj as Record<string, unknown>)) {
+ for (const [key, value] of Object.entries(obj)) {
412
if (key !== "name") {
413
const cleaned = sanitizeRemovals(value);
414
if (cleaned !== undefined) {
0 commit comments