Rename types
This commit is contained in:
parent
26cd95cfda
commit
49f2d69e59
1 changed files with 13 additions and 11 deletions
|
|
@ -9,10 +9,7 @@ import type {
|
|||
ViewUpdate
|
||||
} from "@codemirror/view";
|
||||
import { RemoteCursorWidget } from "./remote-cursor-widget";
|
||||
import type {
|
||||
CursorSpan,
|
||||
DocumentWithMaybeOutdatedClientCursors
|
||||
} from "sync-client";
|
||||
import type { CursorSpan, MaybeOutdatedClientCursors } from "sync-client";
|
||||
import type { App } from "obsidian";
|
||||
import { MarkdownView } from "obsidian";
|
||||
|
||||
|
|
@ -120,7 +117,7 @@ export const remoteCursorsPlugin = ViewPlugin.fromClass(
|
|||
);
|
||||
|
||||
export function setCursors(
|
||||
clients: DocumentWithMaybeOutdatedClientCursors[],
|
||||
clients: MaybeOutdatedClientCursors[],
|
||||
app: App
|
||||
): void {
|
||||
cursors = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue