refactor(editor): cleanup ts-expect-error (#9369)

This commit is contained in:
Saul-Mirone committed 2024-12-27 05:14:23 +00:00
1 parent 908e3efd12
commit 2b27d62b0e
35 files changed
+84 -90

No files matched your search

@@ -110,8 +110,7 @@ const compareAny = (a: unknown, b: unknown) => {
if (!b) {
return Compare.LT;
}
// @ts-expect-error FIXME: ts error
return a - b;
return Number(a) - Number(b);
};
const compareTag = (type: DataTypeOf<typeof t.tag>, a: unknown, b: unknown) => {