11import { PropertyMemberDoc } from 'dgeni-packages/typescript/api-doc-types/PropertyMemberDoc' ;
2- import { DirectiveMetadata } from './directive-metadata' ;
32import { hasMemberDecorator } from './decorators' ;
43
54/** Interface that describes an Angular property binding. Can be either an input or output. */
@@ -12,7 +11,7 @@ export interface PropertyBinding {
1211 * Detects whether the specified property member is an input. If the property is an input, the
1312 * alias and input name will be returned.
1413 */
15- export function getInputBindingData ( doc : PropertyMemberDoc , metadata : DirectiveMetadata )
14+ export function getInputBindingData ( doc : PropertyMemberDoc , metadata : Map < string , any > )
1615 : PropertyBinding | undefined {
1716 return getBindingPropertyData ( doc , metadata , 'inputs' , 'Input' ) ;
1817}
@@ -21,7 +20,7 @@ export function getInputBindingData(doc: PropertyMemberDoc, metadata: DirectiveM
2120 * Detects whether the specified property member is an output. If the property is an output, the
2221 * alias and output name will be returned.
2322 */
24- export function getOutputBindingData ( doc : PropertyMemberDoc , metadata : DirectiveMetadata )
23+ export function getOutputBindingData ( doc : PropertyMemberDoc , metadata : Map < string , any > )
2524 : PropertyBinding | undefined {
2625 return getBindingPropertyData ( doc , metadata , 'outputs' , 'Output' ) ;
2726}
@@ -30,7 +29,7 @@ export function getOutputBindingData(doc: PropertyMemberDoc, metadata: Directive
3029 * Method that detects the specified type of property binding (either "output" or "input") from
3130 * the directive metadata or from the associated decorator on the property.
3231 */
33- function getBindingPropertyData ( doc : PropertyMemberDoc , metadata : DirectiveMetadata ,
32+ function getBindingPropertyData ( doc : PropertyMemberDoc , metadata : Map < string , any > ,
3433 propertyName : string , decoratorName : string ) {
3534
3635 if ( metadata ) {
0 commit comments