chore: TypeScript 5.8, nx migrate, dep updates - bundler resolution

This commit is contained in:
Nathan Walker
2025-07-05 10:48:10 -07:00
parent 32f2dd14e1
commit 48b02ffd1f
23 changed files with 2733 additions and 1396 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);