Closed thespacedeck closed 1 year ago
Can confirm I also am running into this error.
Using what @thespacedeck suggested, I added this line to the top of similarities.d.ts replacing export { tree };
with
export * as tree from 'ml-tree-similarity';
This is allowing my project to build for now until the package is fixed.
Upon installing node_modules/ml-distance/lib/similarities.d.ts:1:10 - error TS2304: Cannot find name 'tree'.
seems like it is missing the import for
import * as tree from 'ml-tree-similarity';
checkout: https://www.npmjs.com/package/ml-distance?activeTab=code