You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let stringComparison = require('string-comparison').default;
// Log to see the structure of the cos object
console.log(Object.keys(stringComparison));
// output
[
'cosine',
'diceCoefficient',
'jaccardIndex',
'levenshtein',
'lcs',
'longestCommonSubsequence',
'mlcs',
'metricLcs',
'jaroWinkler'
]
The module is not properly imported without the '.default' attribute. Maybe it's only a non-typeScript issue, but it's worth noting.
The text was updated successfully, but these errors were encountered:
The module is not properly imported without the '.default' attribute. Maybe it's only a non-typeScript issue, but it's worth noting.
The text was updated successfully, but these errors were encountered: