fix: slow-types

This commit is contained in:
2026-01-05 23:23:53 +01:00
parent 4aaf12948c
commit 7bb356203f
7 changed files with 21 additions and 20 deletions

View File

@@ -15,11 +15,11 @@ export class MemoryStorage<TSchema extends AnyDocument = AnyDocument> extends St
this.index = new IndexManager(indexes);
}
get documents() {
get documents(): TSchema[] {
return this.index.primary.documents;
}
async resolve() {
async resolve(): Promise<this> {
return this;
}