angular-docs-cn/aio/src/testing
Alex Rickabaugh 84dd2679a9 fix(core): require 'static' flag on queries in typings (#30639)
This commit makes the static flag on @ViewChild and @ContentChild required.

BREAKING CHANGE:

In Angular version 8, it's required that all @ViewChild and @ContentChild
queries have a 'static' flag specifying whether the query is 'static' or
'dynamic'. The compiler previously sorted queries automatically, but in
8.0 developers are required to explicitly specify which behavior is wanted.
This is a temporary requirement as part of a migration; see
https://angular.io/guide/static-query-migration for more details.

@ViewChildren and @ContentChildren queries are always dynamic, and so are
unaffected.

PR Close #30639
2019-05-24 16:55:00 -04:00
..
doc-viewer-utils.ts fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
dom-utils.ts feat(docs-infra): add getting started widgets (#26059) 2018-11-02 10:34:53 -07:00
location.service.ts refactor(aio): switch to pipeable RxJS operators (#22872) 2018-03-23 12:53:58 -04:00
logger.service.ts style(aio): enforce strict TypeScript checks (#21342) 2018-01-12 14:36:43 -08:00
search.service.ts build(aio): upgrade `rxjs` to `6.0.0-beta.0` (#22872) 2018-03-23 12:53:58 -04:00