mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
build: enhance tsconfig type check (#2732)
This commit is contained in:
@@ -80,7 +80,7 @@ export class IndexedDBVectorStore extends VectorStore {
|
||||
return result;
|
||||
}
|
||||
|
||||
static async fromTexts(
|
||||
static override async fromTexts(
|
||||
texts: string[],
|
||||
metadatas: object[] | object,
|
||||
embeddings: Embeddings,
|
||||
@@ -98,7 +98,7 @@ export class IndexedDBVectorStore extends VectorStore {
|
||||
return IndexedDBVectorStore.fromDocuments(docs, embeddings, dbConfig);
|
||||
}
|
||||
|
||||
static async fromDocuments(
|
||||
static override async fromDocuments(
|
||||
docs: Document[],
|
||||
embeddings: Embeddings,
|
||||
dbConfig?: MemoryVectorStoreArgs
|
||||
|
||||
Reference in New Issue
Block a user