Update type imports
This commit is contained in:
parent
ea189f3d09
commit
38810579ec
2 changed files with 4 additions and 3 deletions
|
|
@ -1,12 +1,13 @@
|
||||||
import type { Stat, Vault, Workspace } from "obsidian";
|
import type { Stat, Vault, Workspace } from "obsidian";
|
||||||
import { MarkdownView, normalizePath } from "obsidian";
|
import { MarkdownView, normalizePath } from "obsidian";
|
||||||
import {
|
import {
|
||||||
|
CursorPosition,
|
||||||
|
TextWithCursors,
|
||||||
utils,
|
utils,
|
||||||
type FileSystemOperations,
|
type FileSystemOperations,
|
||||||
type RelativePath
|
type RelativePath
|
||||||
} from "sync-client";
|
} from "sync-client";
|
||||||
import { getSelectionsFromEditor } from "./views/cursors/get-selections-from-editor";
|
import { getSelectionsFromEditor } from "./views/cursors/get-selections-from-editor";
|
||||||
import type { TextWithCursors, CursorPosition } from "reconcile-text";
|
|
||||||
|
|
||||||
export class ObsidianFileSystemOperations implements FileSystemOperations {
|
export class ObsidianFileSystemOperations implements FileSystemOperations {
|
||||||
public constructor(
|
public constructor(
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import {
|
||||||
type RelativePath,
|
type RelativePath,
|
||||||
type FileSystemOperations,
|
type FileSystemOperations,
|
||||||
type SyncSettings,
|
type SyncSettings,
|
||||||
SyncClient
|
SyncClient,
|
||||||
|
TextWithCursors
|
||||||
} from "sync-client";
|
} from "sync-client";
|
||||||
import type { TextWithCursors } from "reconcile-text";
|
|
||||||
|
|
||||||
export class MockClient implements FileSystemOperations {
|
export class MockClient implements FileSystemOperations {
|
||||||
protected readonly localFiles = new Map<string, Uint8Array>();
|
protected readonly localFiles = new Map<string, Uint8Array>();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue