浏览代码

export types from main entry point

Bruce MacDonald 1 年之前
父节点
当前提交
c2ed8620a5
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/index.ts

+ 3 - 0
src/index.ts

@@ -313,3 +313,6 @@ export class Ollama {
 }
 
 export default new Ollama()
+
+// export all types from the main entry point so that packages importing types dont need to specify paths
+export * from './interfaces'