remove now-unneeded ts-expect-error 🎉

This commit is contained in:
Samuel Newman
2026-02-20 11:13:17 +02:00
parent e75a60d438
commit e8eb53c347
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -15,7 +15,6 @@ export function useFormatPostStatCount() {
return i18n.number(postStatCount, {
notation: 'compact',
maximumFractionDigits: isOver10k ? 0 : 1,
// @ts-expect-error - roundingMode not in the types
roundingMode: 'trunc',
})
},
-1
View File
@@ -4,7 +4,6 @@ export const formatCount = (i18n: I18n, num: number) => {
return i18n.number(num, {
notation: 'compact',
maximumFractionDigits: 1,
// @ts-expect-error - roundingMode not in the types
roundingMode: 'trunc',
})
}