feat: update typescript version

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2021-12-26 01:21:06 +08:00
parent 72173b4778
commit 5ed61829e1
68 changed files with 234 additions and 161 deletions

View File

@ -22,8 +22,8 @@
"@ccms/nashorn": "^0.17.0",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
"tslib": "^2.3.1",
"typescript": "^4.5.3"
},
"gitHead": "781524f83e52cad26d7c480513e3c525df867121"
}

View File

@ -49,7 +49,7 @@ function checkBoxedPrimitive(value, prototypeValueOf) {
try {
prototypeValueOf(value);
return true;
} catch (e) {
} catch (error: any) {
return false;
}
}
@ -421,4 +421,4 @@ exports.isAnyArrayBuffer = isAnyArrayBuffer;
throw new Error(method + ' is not supported in userland');
}
});
});
});