fix typescript
Some checks failed
Node.js build / build (20.x) (push) Has been cancelled
Node.js build / build (22.x) (push) Has been cancelled

This commit is contained in:
2026-02-27 10:12:27 -05:00
parent 7022dadd83
commit 358ddca2f0
8 changed files with 386 additions and 452 deletions

View File

@@ -7,6 +7,7 @@ import {
EditorRangeOrCaret,
EditorSelection,
EditorTransaction,
MarkdownFileInfo,
MarkdownView,
} from 'obsidian'
import BindThemPlugin from './main'
@@ -244,7 +245,7 @@ export class BetterFormatting {
*/
public toggleWrapper(
editor: Editor,
view: MarkdownView,
view: MarkdownView | MarkdownFileInfo,
symbolStart: string,
symbolEnd?: string
): void {