When messing around with
convert(value)
.from(unit)
.toBest({ cutOffNumber: 10 });
i've noticed that m³ get converted to unit called "kanna" (never heard about it in my life)
so i added
.toBest({ cutOffNumber: 10, exclude: ["kanna"] });
which raised typescript error Type '"kanna"' is not assignable to type 'Unit'.ts(2322)
so only way i could fix it was @ts-ignore or telling the typescript
exclude: ["kanna" as Unit]