Skip to content

Commit 2ea3635

Browse files
authored
[BUG] Using export instead of export type for CommonJS compat (#3666)
1 parent 50c989f commit 2ea3635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clients/js/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export { ChromaClient } from "./ChromaClient";
22
export { AdminClient } from "./AdminClient";
33
export { CloudClient } from "./CloudClient";
44
export { Collection } from "./Collection";
5-
export type { IEmbeddingFunction } from "./embeddings/IEmbeddingFunction";
5+
export { IEmbeddingFunction } from "./embeddings/IEmbeddingFunction";
66
export { OpenAIEmbeddingFunction } from "./embeddings/OpenAIEmbeddingFunction";
77
export { CohereEmbeddingFunction } from "./embeddings/CohereEmbeddingFunction";
88
export { TransformersEmbeddingFunction } from "./embeddings/TransformersEmbeddingFunction";
@@ -12,7 +12,7 @@ export { JinaEmbeddingFunction } from "./embeddings/JinaEmbeddingFunction";
1212
export { GoogleGenerativeAiEmbeddingFunction } from "./embeddings/GoogleGeminiEmbeddingFunction";
1313
export { OllamaEmbeddingFunction } from "./embeddings/OllamaEmbeddingFunction";
1414

15-
export type {
15+
export {
1616
IncludeEnum,
1717
GetParams,
1818
CollectionMetadata,

0 commit comments

Comments
 (0)