mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-06 13:05:09 +00:00
Refactor imports to use package names instead of aliases
Replaced all path alias imports (e.g., '@/napcat-core') with direct package imports (e.g., 'napcat-core/index') across napcat-common, napcat-core, and napcat-webui-backend. This improves compatibility with tooling and workspace resolution, and aligns with standard TypeScript/Node.js import practices.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { LoginListItem, SelfInfo } from '@/napcat-core';
|
||||
import type { OneBotConfig } from '@/napcat-onebot/config/config';
|
||||
import type { LoginListItem, SelfInfo } from 'napcat-core';
|
||||
import type { OneBotConfig } from 'napcat-onebot/config/config';
|
||||
|
||||
interface LoginRuntimeType {
|
||||
LoginCurrentTime: number;
|
||||
|
||||
Reference in New Issue
Block a user