chore: TypeScript 5.8, nx migrate, dep updates (#10759)

This commit is contained in:
Nathan Walker
2025-07-07 16:29:09 -07:00
committed by GitHub
parent 32f2dd14e1
commit eab726b5d6
20 changed files with 2718 additions and 1381 deletions

View File

@ -110,8 +110,7 @@ function countersProfileFunctionFactory<F extends Function>(fn: F, name: string,
}
function timelineProfileFunctionFactory<F extends Function>(fn: F, name: string, type: MemberType = MemberType.Instance): F {
return type === MemberType.Instance
? <any>function () {
return type === MemberType.Instance ? <any>function () {
const start = time();
try {
return fn.apply(this, arguments);
@ -119,8 +118,7 @@ function timelineProfileFunctionFactory<F extends Function>(fn: F, name: string,
const end = time();
console.log(`Timeline: Modules: ${name} ${this} (${start}ms. - ${end}ms.)`);
}
}
: function () {
} : <any>function () {
const start = time();
try {
return fn.apply(this, arguments);