docs(metadata): provide deprecation messages
This commit is contained in:
parent
37c65b74e3
commit
c4129071ef
|
@ -18,10 +18,13 @@ class Directive extends DirectiveMetadata {
|
||||||
{String selector,
|
{String selector,
|
||||||
List<String> inputs,
|
List<String> inputs,
|
||||||
List<String> outputs,
|
List<String> outputs,
|
||||||
@deprecated List<String> properties,
|
@Deprecated('Use `inputs` instead')
|
||||||
@deprecated List<String> events,
|
List<String> properties,
|
||||||
|
@Deprecated('Use `outputs` instead')
|
||||||
|
List<String> events,
|
||||||
Map<String, String> host,
|
Map<String, String> host,
|
||||||
@deprecated List bindings,
|
@Deprecated('Use `providers` instead')
|
||||||
|
List bindings,
|
||||||
List providers,
|
List providers,
|
||||||
String exportAs,
|
String exportAs,
|
||||||
String moduleId,
|
String moduleId,
|
||||||
|
@ -48,15 +51,19 @@ class Component extends ComponentMetadata {
|
||||||
{String selector,
|
{String selector,
|
||||||
List<String> inputs,
|
List<String> inputs,
|
||||||
List<String> outputs,
|
List<String> outputs,
|
||||||
@deprecated List<String> properties,
|
@Deprecated('Use `inputs` instead')
|
||||||
@deprecated List<String> events,
|
List<String> properties,
|
||||||
|
@Deprecated('Use `outputs` instead')
|
||||||
|
List<String> events,
|
||||||
Map<String, String> host,
|
Map<String, String> host,
|
||||||
@deprecated List bindings,
|
@Deprecated('Use `providers` instead')
|
||||||
|
List bindings,
|
||||||
List providers,
|
List providers,
|
||||||
String exportAs,
|
String exportAs,
|
||||||
String moduleId,
|
String moduleId,
|
||||||
Map<String, dynamic> queries,
|
Map<String, dynamic> queries,
|
||||||
@deprecated List viewBindings,
|
@Deprecated('Use `viewProviders` instead')
|
||||||
|
List viewBindings,
|
||||||
List viewProviders,
|
List viewProviders,
|
||||||
ChangeDetectionStrategy changeDetection,
|
ChangeDetectionStrategy changeDetection,
|
||||||
String templateUrl,
|
String templateUrl,
|
||||||
|
|
Loading…
Reference in New Issue