build: enhance tsconfig type check (#2732)

This commit is contained in:
Himself65 authored and GitHub committed 2023-06-09 01:42:58 +08:00
1 parent fc9a9f479b
commit b383ce36cd
34 files changed
+111 -68

No files matched your search

@@ -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