@interslavic/odometer
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,5 +1,6 @@ | ||
import { Replacement } from '../multireplacer'; | ||
import { Intermediate } from '../utils'; | ||
import { OdometerStats } from './OdometerStats'; | ||
export declare class Odometer { | ||
getDifference(aSet: Intermediate[], bSet: Intermediate[]): OdometerStats; | ||
export declare class Odometer<Context = unknown> { | ||
getDifference(aSet: Intermediate<Context, Replacement<Context>>[], bSet: Intermediate<Context, Replacement<Context>>[]): OdometerStats<Context>; | ||
} |
@@ -0,6 +1,7 @@ | ||
import { Replacement } from '../multireplacer'; | ||
import { Intermediate } from '../utils'; | ||
export declare type OdometerStats = { | ||
a: Intermediate | null; | ||
b: Intermediate | null; | ||
export declare type OdometerStats<T> = { | ||
a: Intermediate<T, Replacement<T>> | null; | ||
b: Intermediate<T, Replacement<T>> | null; | ||
distance: number; | ||
}; |
{ | ||
"name": "@interslavic/odometer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Utilities to flavorize dictionary entries and calculate a smarter distance between languages.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
23594
531