refactor(ivy): remove unnecessary Comp.r function (#21650)
PR Close #21650
This commit is contained in:

committed by
Misko Hevery

parent
2c33d17609
commit
811679a583
@ -40,11 +40,6 @@ export function defineComponent<T>(componentDefinition: ComponentDefArgs<T>): Co
|
||||
n: componentDefinition.factory,
|
||||
tag: (componentDefinition as ComponentDefArgs<T>).tag || null !,
|
||||
template: (componentDefinition as ComponentDefArgs<T>).template || null !,
|
||||
r: componentDefinition.refresh || (componentDefinition.template ?
|
||||
function(d: number, e: number) {
|
||||
componentRefresh(d, e, componentDefinition.template);
|
||||
} :
|
||||
noop),
|
||||
h: componentDefinition.hostBindings || noop,
|
||||
inputs: invertObject(componentDefinition.inputs),
|
||||
outputs: invertObject(componentDefinition.outputs),
|
||||
|
Reference in New Issue
Block a user