File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
modules/angular2/src/core Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ class Attribute extends AttributeMetadata {
129129/**
130130 * See: [QueryMetadata] for docs.
131131 */
132+ @Deprecated ("Use ContentChildren/ContentChild instead" )
132133class Query extends QueryMetadata {
133134 const Query (dynamic /*Type | string*/ selector, {bool descendants: false })
134135 : super (selector, descendants: descendants);
@@ -153,6 +154,7 @@ class ContentChild extends ContentChildMetadata {
153154/**
154155 * See: [ViewQueryMetadata] for docs.
155156 */
157+ @Deprecated ("Use ViewChildren/ViewChild instead" )
156158class ViewQuery extends ViewQueryMetadata {
157159 const ViewQuery (dynamic /*Type | string*/ selector)
158160 : super (selector, descendants: true );
You can’t perform that action at this time.
0 commit comments