Explorar el Código

export types from main entry point

Bruce MacDonald hace 1 año
padre
commit
c2ed8620a5
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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'