feat: update import statements to use TypeScript file extensions
This commit is contained in:
parent
61d86c98a7
commit
7d2b695ea0
10 changed files with 35 additions and 35 deletions
|
|
@ -3,8 +3,8 @@
|
|||
* Based on the paper: "Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs"
|
||||
*/
|
||||
|
||||
import { DistanceFunction, HNSWConfig, HNSWNode, Vector, VectorDocument } from '../coreTypes.js'
|
||||
import { euclideanDistance } from '../utils/index.js'
|
||||
import { DistanceFunction, HNSWConfig, HNSWNode, Vector, VectorDocument } from '../coreTypes.ts'
|
||||
import { euclideanDistance } from '../utils/index.ts'
|
||||
|
||||
// Default HNSW parameters
|
||||
const DEFAULT_CONFIG: HNSWConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue