Parcourir la source

export types from main entry point

Bruce MacDonald il y a 1 an
Parent
commit
c2ed8620a5
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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'