hnswlib-node icon indicating copy to clipboard operation
hnswlib-node copied to clipboard

Error in initIndex signature

Open Storkki opened this issue 1 year ago • 1 comments

There is unable to build some code in ts because of error TS2371: A parameter initializer is only allowed in a function or constructor implementation.

image

Storkki avatar Feb 20 '24 20:02 Storkki

This issue is fixed by this pull request: https://github.com/yoshoku/hnswlib-node/pull/177 Please update to version 2.1.1 which include this fix.

yoshoku avatar Feb 27 '24 14:02 yoshoku