fix(mentions): resolve TypeScript compilation errors

- Remove duplicate MentionItem interface definition from mention-config.ts
- Fix TemplateRef type to match Angular's expected template context structure
- Update type casting for TagCopy and ProjectCopy arrays in add-task-bar component
- Remove unused CustomEvent interface from mention directive
- Fix syntax error in electron main-window.ts

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

Co-Authored-By: Claude <noreply@anthropic.com>

# Conflicts:
#	electron/main-window.ts
This commit is contained in:
Johannes Millan 2025-09-04 13:13:23 +02:00
parent 3cbe3eef68
commit 7417cd9b65
5 changed files with 90 additions and 36 deletions

View file

@ -19,9 +19,9 @@ import { error, log } from 'electron-log/main';
import { GlobalConfigState } from '../src/app/features/config/global-config.model';
import { IS_MAC } from './common.const';
import {
showOverlayWindow,
hideOverlayWindow,
destroyOverlayWindow,
hideOverlayWindow,
showOverlayWindow,
} from './overlay-indicator/overlay-indicator';
let mainWin: BrowserWindow;
@ -119,7 +119,9 @@ export const createWindow = ({
// NOTE this is needed for GitHub api requests to work :(
// office365 needs a User-Agent as well (#4677)
if (new URL(details.url).hostname in ['github.com', 'office365.com', 'outlook.live.com']) {
if (
new URL(details.url).hostname in ['github.com', 'office365.com', 'outlook.live.com']
) {
removeKeyInAnyCase(requestHeaders, 'User-Agent');
}
callback({ requestHeaders });