ashvardanian / SimSIMD

Up to 200x Faster Dot Products & Similarity Metrics ā€” for Python, Rust, C, JS, and Swift, supporting f64, f32, f16 real & complex, i8, and bit vectors using SIMD for both AVX2, AVX-512, NEON, SVE, & SVE2 šŸ“
https://ashvardanian.com/posts/simsimd-faster-scipy/
Apache License 2.0
915 stars 51 forks source link

Typescript types #47

Closed sroussey closed 8 months ago

sroussey commented 9 months ago

Please add typescript types so my IDE is happy. Thanks!

ashvardanian commented 9 months ago

We've previously tried adding TypeScript annotations in other projects, like USearch, but it seriously confuses the documentation generator and messes up the build. Is there a non-intrusive way to achieve that? Maybe by improving the JSDoc in simsimd.js?

sroussey commented 9 months ago

Iā€™m traveling at the moment, you can convert jsdoc to typescript descriptor.

ashvardanian commented 9 months ago

@nairihar, thoughts?