Commit Graph

3 Commits

Author SHA1 Message Date
Kazuki Yamada e1ffdc540a fix(browser): Replace any types with proper TypeScript definitions
Fixed linting warnings by replacing 'any' return types in WXT function
declarations with proper TypeScript interfaces. This improves type safety
without affecting functionality.

Changes:
- Added BackgroundDefinition and ContentScriptDefinition interfaces
- Updated defineBackground and defineContentScript return types
- Resolves 2 lint/suspicious/noExplicitAny warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-30 23:03:35 +09:00
autofix-ci[bot] 6b2f710d29 [autofix.ci] apply automated fixes 2025-09-21 06:52:42 +00:00
Kazuki Yamada 2efbee6171 fix(browser): resolve CI TypeScript configuration issues
Fix TypeScript compilation errors in CI by removing dependency on WXT's auto-generated .wxt/tsconfig.json file which doesn't exist during lint phase.

Changes:
- Remove "extends": "./.wxt/tsconfig.json" from tsconfig.json
- Add manual type definitions for WXT global functions (defineBackground, defineContentScript)
- Include proper file paths and type declarations
- Ensure CI can run lint checks before WXT generates its configuration

This resolves the CI error: "Cannot read file '.wxt/tsconfig.json'" during the lint step.
2025-09-21 15:50:17 +09:00