Sfoglia il codice sorgente

export types from main entry point

Bruce MacDonald 1 anno fa
parent
commit
c2ed8620a5
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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'