fix(ivy): update the compiler specification (#21656)
Also make a minor fix for directive definitions PR Close #21656
This commit is contained in:

committed by
Miško Hevery

parent
8e8924ac7c
commit
21e37e47c6
@ -36,8 +36,11 @@ 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 ||
|
||||
function(d: number, e: number) { componentRefresh(d, e, componentDefinition.template); },
|
||||
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