refactor(server): missing exports causing hidden types

This commit is contained in:
Elian Doran 2025-05-21 15:34:31 +03:00
parent b9df707369
commit 7aaa94d01b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import entityChangesService from "./entity_changes.js";
import becca from "../becca/becca.js";
import type BNote from "../becca/entities/bnote.js";
interface ValidationResponse {
export interface ValidationResponse {
branch: BBranch | null;
success: boolean;
message?: string;

View File

@ -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;
reject: (reason?: any) => void;
}