Switch ts and babel for swc-loader

Replace old <> assertion syntax
This commit is contained in:
David Edmondson
2021-09-04 16:57:49 -07:00
parent 05bab22807
commit cfbdae6def
12 changed files with 1085 additions and 902 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ export function compareArrays<T>(a1: T[], a2: T[]): boolean {
return false;
}
const elem1 = <any[]>(<any>a1[i]);
const elem2 = <any[]>(<any>a2[i]);
const elem1 = a1[i] as any;
const elem2 = a2[i] as any;
if (!compareArrays(elem1, elem2)) {
return false;
}