mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 07:04:04 -05:00
Address Copilot feedback by replacing `any` types with proper TypeScript types in Cypress test files. ## Changes **cypress/support/utils.ts:** - `win: any` → `win: Cypress.AUTWindow` - `$element: any` → `$element: JQuery<HTMLTextAreaElement>` - `$body: any` → `$body: JQuery<HTMLElement>` **cypress/e2e/claude-explain.cy.ts:** - `req: any` → `req: Cypress.Interception` (3 instances) - `url: any` → `url: string` ## Benefits - Improves type safety and catches potential runtime errors at compile time - Follows TypeScript best practices - Addresses all Copilot suggestions for better code quality - No functional changes, purely type improvements All TypeScript checks pass and no functionality is affected. Co-authored-by: Claude <noreply@anthropic.com>