Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aedart committed Jan 14, 2024
1 parent 55b4705 commit 0db5840
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/support/src/meta/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function save(
// When the metadata originates from the decorator context, we can stop here.
// Otherwise, we need to save it in the internal registry...
if (useMetaFromContext) {
runIniCallbacks(targetContext, initCallbacks);
runInitCallbacks(targetContext, initCallbacks);
return;
}

Expand All @@ -197,7 +197,7 @@ function save(
});

// Invoke evt. init callbacks...
runIniCallbacks(targetContext, initCallbacks);
runInitCallbacks(targetContext, initCallbacks);
}

/**
Expand Down Expand Up @@ -265,7 +265,7 @@ function resolveEntry(
* @param {MetaTargetContext} targetContext
* @param {((this:any) => void)[]} callbacks
*/
function runIniCallbacks(targetContext: MetaTargetContext, callbacks: ((this: any /* eslint-disable-line @typescript-eslint/no-explicit-any */) => void)[]): void
function runInitCallbacks(targetContext: MetaTargetContext, callbacks: ((this: any /* eslint-disable-line @typescript-eslint/no-explicit-any */) => void)[]): void
{
callbacks.forEach((callback: (this: any /* eslint-disable-line @typescript-eslint/no-explicit-any */) => void) => {
callback.call(targetContext.thisArg);
Expand Down

0 comments on commit 0db5840

Please sign in to comment.