mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 19:12:27 +08:00
refactor(server): missing exports causing hidden types
This commit is contained in:
parent
b9df707369
commit
7aaa94d01b
@ -7,7 +7,7 @@ import entityChangesService from "./entity_changes.js";
|
|||||||
import becca from "../becca/becca.js";
|
import becca from "../becca/becca.js";
|
||||||
import type BNote from "../becca/entities/bnote.js";
|
import type BNote from "../becca/entities/bnote.js";
|
||||||
|
|
||||||
interface ValidationResponse {
|
export interface ValidationResponse {
|
||||||
branch: BBranch | null;
|
branch: BBranch | null;
|
||||||
success: boolean;
|
success: boolean;
|
||||||
message?: string;
|
message?: string;
|
||||||
|
@ -226,7 +226,7 @@ export function timeLimit<T>(promise: Promise<T>, limitMs: number, errorMessage?
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
interface DeferredPromise<T> extends Promise<T> {
|
export interface DeferredPromise<T> extends Promise<T> {
|
||||||
resolve: (value: T | PromiseLike<T>) => void;
|
resolve: (value: T | PromiseLike<T>) => void;
|
||||||
reject: (reason?: any) => void;
|
reject: (reason?: any) => void;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user