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:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user