refactor: rename all coreContext -> core

This commit is contained in:
Wesley F. Young committed 2024-08-26 09:19:50 +08:00
1 parent a5f9e44ebb
commit 04fb771f42
79 files changed
+386 -389

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ export type NapCatConfig = typeof napCatDefaultConfig;
// eslint-disable-next-line @typescript-eslint/no-unsafe-declaration-merging
export class NapCatConfigLoader extends ConfigBase<NapCatConfig> {
constructor(coreContext: NapCatCore, configPath: string) {
super('napcat', coreContext, configPath);
constructor(core: NapCatCore, configPath: string) {
super('napcat', core, configPath);
}
}