feat: update import statements to use TypeScript file extensions

This commit is contained in:
David Snelling 2025-05-29 08:27:59 -07:00
parent 61d86c98a7
commit 7d2b695ea0
10 changed files with 35 additions and 35 deletions

View file

@ -2,7 +2,7 @@
* Distance functions for vector similarity calculations
*/
import { DistanceFunction, Vector } from '../coreTypes.js'
import { DistanceFunction, Vector } from '../coreTypes.ts'
/**
* Calculates the Euclidean distance between two vectors

View file

@ -2,7 +2,7 @@
* Embedding functions for converting data to vectors
*/
import { EmbeddingFunction, EmbeddingModel, Vector } from '../coreTypes.js'
import { EmbeddingFunction, EmbeddingModel, Vector } from '../coreTypes.ts'
/**
* Simple character-based embedding function

View file

@ -1,2 +1,2 @@
export * from './distance.js'
export * from './embedding.js'
export * from './distance.ts'
export * from './embedding.ts'