refactor(ivy): name anonymous wrapper function (#29543)
This simple change helps with debugging / perf investigations as we can see function names on a call stack. PR Close #29543
This commit is contained in:
parent
4eb6b02f08
commit
1727fe24fb
|
@ -54,7 +54,7 @@ function NgOnChangesFeatureImpl<T>(definition: DirectiveDef<T>): void {
|
|||
}
|
||||
|
||||
function wrapOnChanges() {
|
||||
return function(this: OnChanges) {
|
||||
return function wrapOnChangesHook_inPreviousChangesStorage(this: OnChanges) {
|
||||
const simpleChangesStore = getSimpleChangesStore(this);
|
||||
const current = simpleChangesStore && simpleChangesStore.current;
|
||||
|
||||
|
|
Loading…
Reference in New Issue