
committed by
Victor Berchet

parent
6b627f67db
commit
49082d7ab2
@ -42,6 +42,7 @@ export function defineComponent<T>(componentDefinition: ComponentDefArgs<T>): Co
|
||||
tag: (componentDefinition as ComponentDefArgs<T>).tag || null !,
|
||||
template: (componentDefinition as ComponentDefArgs<T>).template || null !,
|
||||
h: componentDefinition.hostBindings || noop,
|
||||
attributes: componentDefinition.attributes || null,
|
||||
inputs: invertObject(componentDefinition.inputs),
|
||||
outputs: invertObject(componentDefinition.outputs),
|
||||
methods: invertObject(componentDefinition.methods),
|
||||
@ -177,4 +178,4 @@ export function definePipe<T>(
|
||||
{type, factory, pure}: {type: Type<T>, factory: () => PipeTransform, pure?: boolean}):
|
||||
PipeDef<T> {
|
||||
throw new Error('TODO: implement!');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user