mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 14:11:13 -05:00
Fix: Resolve remaining TypeScript errors
This commit is contained in:
@@ -56,7 +56,7 @@ export const performanceTestSuite: TestSuite = {
|
||||
|
||||
// Set performance thresholds (in milliseconds)
|
||||
const threshold = 1000; // 1 second
|
||||
const warnings = [];
|
||||
const warnings: string[] = [];
|
||||
|
||||
if (parksDuration > threshold) {
|
||||
warnings.push(`Parks query slow: ${parksDuration}ms`);
|
||||
@@ -229,7 +229,7 @@ export const performanceTestSuite: TestSuite = {
|
||||
|
||||
// Performance threshold: 200ms for simple functions
|
||||
const threshold = 200;
|
||||
const warnings = [];
|
||||
const warnings: string[] = [];
|
||||
|
||||
if (modDuration > threshold) {
|
||||
warnings.push(`is_moderator slow: ${modDuration}ms`);
|
||||
|
||||
Reference in New Issue
Block a user