refactor: prefer import type (#10190)

* style(linter): enable consistent-type-imports rule in typescript

* chore: add biome to lint script for improved code formatting

* chore: add oxlint-specific lint script for faster linting

* refactor: use type-only imports for better type safety and clarity
This commit is contained in:
Phantom
2025-09-17 12:32:53 +08:00
committed by GitHub
parent 59bf94b118
commit d4b0272fe7
779 changed files with 1845 additions and 1498 deletions
@@ -4,7 +4,7 @@ import { toDataApiError } from '@shared/data/api/errorCodes'
import { IpcChannel } from '@shared/IpcChannel'
import { ipcMain } from 'electron'
import { ApiServer } from '../ApiServer'
import type { ApiServer } from '../ApiServer'
const logger = loggerService.withContext('DataApiIpcAdapter')