🔧 Fix ESLint any type error
- Changed 'as any' to 'as Record<string, unknown>' in prisma.ts
- Pre-push hook now passes all checks ✅
This commit is contained in:
@@ -73,7 +73,7 @@ export const projectService = {
|
||||
...data,
|
||||
performance: data.performance || { lighthouse: 90, bundleSize: '50KB', loadTime: '1.5s' },
|
||||
analytics: data.analytics || { views: 0, likes: 0, shares: 0 }
|
||||
} as any
|
||||
} as Record<string, unknown>
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user