mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-08-26 21:37:05 +00:00
Align host integrations with current API recommendations
This commit is contained in:
@@ -2,7 +2,11 @@ import type { LiveSyncCore } from "@/main";
|
||||
import type ObsidianLiveSyncPlugin from "@/main";
|
||||
import { AbstractModule } from "./AbstractModule.ts";
|
||||
|
||||
export abstract class AbstractObsidianModule extends AbstractModule {
|
||||
export abstract class AbstractObsidianModule extends AbstractModule<LiveSyncCore> {
|
||||
override get services() {
|
||||
return this.core.services;
|
||||
}
|
||||
|
||||
get app() {
|
||||
return this.plugin.app;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user