mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
feat(Directive): convert properties to an array
fixes #2013 BREAKING CHANGE: Before @Directive(properties: { 'sameName': 'sameName', 'directiveProp': 'elProp | pipe' }) After @Directive(properties: [ 'sameName', 'directiveProp: elProp | pipe' ])
This commit is contained in:
@@ -56,7 +56,7 @@ class _DirectiveMetadataVisitor extends Object
|
||||
meta = new DirectiveMetadata(
|
||||
type: type,
|
||||
compileChildren: true,
|
||||
properties: {},
|
||||
properties: [],
|
||||
hostListeners: {},
|
||||
hostProperties: {},
|
||||
hostAttributes: {},
|
||||
|
||||
Reference in New Issue
Block a user