mirror of
https://github.com/nathonius/obsidian-github-link.git
synced 2026-07-22 09:20:25 +00:00
34 lines
827 B
TypeScript
34 lines
827 B
TypeScript
import type { App, Scope } from "obsidian";
|
|
import type { Modal } from "obsidian";
|
|
|
|
export class ModalMock implements Modal {
|
|
constructor(public app: App) {}
|
|
get scope(): Scope {
|
|
throw new Error("Not implemented.");
|
|
}
|
|
get containerEl(): HTMLElement {
|
|
throw new Error("Not implemented.");
|
|
}
|
|
get modalEl(): HTMLElement {
|
|
throw new Error("Not implemented.");
|
|
}
|
|
get titleEl(): HTMLElement {
|
|
throw new Error("Not implemented.");
|
|
}
|
|
get contentEl(): HTMLElement {
|
|
throw new Error("Not implemented.");
|
|
}
|
|
shouldRestoreSelection: boolean = false;
|
|
open(): void {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
close(): void {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
onOpen(): void {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
onClose(): void {
|
|
throw new Error("Method not implemented.");
|
|
}
|
|
}
|