angular-docs-cn/packages
Pete Bacon Darwin 05672ab136 refactor(compiler-cli): `attachComments()` now expects a defined `leadingComments` array (#39076)
Previously the value passed to `AstFactory.attachComments()` could be
`undefined` which is counterintuitive, since why attach something that
doesn't exist? Now it expects there to be a defined array. Further it no
longer returns a statement. Both these aspects of the interface were designed
to make the usage simpler but has the result of complicating the implemenation.

The `ExpressionTranslatorVisitor` now has a helper function (`attachComments()`)
to handle `leadingComments` being undefined and also returning the statement.
This keeps the usage in the translator simple, while ensuring that the `AstFactory`
API is not influenced by how it is used.

PR Close #39076
2020-10-06 11:33:55 -07:00
..
animations
bazel build: update bazelversion (#39123) 2020-10-05 17:08:08 -07:00
benchpress build: add wombot proxy for publish config for @angular/benchpress (#37752) 2020-06-25 17:08:18 -07:00
common fix(common): add boolean to valid json for testing (#37893) 2020-10-05 17:07:41 -07:00
compiler test(compiler): add tests for parsing of malformed property reads (#38998) 2020-10-05 14:24:46 -07:00
compiler-cli refactor(compiler-cli): `attachComments()` now expects a defined `leadingComments` array (#39076) 2020-10-06 11:33:55 -07:00
core Revert "build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#37727)" (#39097) 2020-10-02 10:56:53 -07:00
docs
elements feat(compiler-cli): add support for TypeScript 4.0 (#38076) 2020-08-24 13:06:59 -07:00
examples docs: remove explicit boolean type in examples as TS infers it automatically (#39081) 2020-10-06 08:39:01 -07:00
forms fix(forms): improve types of directive constructor arguments (#38944) 2020-10-06 10:14:21 -07:00
language-service fix(language-service): [Ivy] hybrid visitor should not locate let keyword (#39061) 2020-10-06 11:33:32 -07:00
localize Revert "build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#37727)" (#39097) 2020-10-02 10:56:53 -07:00
misc/angular-in-memory-web-api feat(core): update reference and doc to change `async` to `waitAsync`. (#37583) 2020-08-03 12:54:13 -07:00
platform-browser test(platform-browser): remove usage of blacklist in test naming (#38928) 2020-09-23 15:47:28 -04:00
platform-browser-dynamic feat(core): update reference and doc to change `async` to `waitAsync`. (#37583) 2020-08-03 12:54:13 -07:00
platform-server fix(platform-server): remove styles added by ServerStylesHost on destruction (#38367) 2020-08-10 13:12:23 -07:00
private/testing
router fix(router): properly assign ExtraOptions to Router in RouterTestingModule (#39096) 2020-10-05 16:35:14 -07:00
service-worker feat(service-worker): add the option to prefer network for navigation requests (#38565) 2020-09-22 09:29:20 -07:00
upgrade fix(upgrade): add try/catch when downgrading injectables (#38671) 2020-09-10 08:50:15 -07:00
zone.js feat(zone.js): add jest fakeTimers support (#39016) 2020-10-05 13:23:17 -07:00
BUILD.bazel Revert "build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#37727)" (#39097) 2020-10-02 10:56:53 -07:00
README.md
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts
goog.d.ts
license-banner.txt
system.d.ts
tsconfig-build-no-strict.json
tsconfig-build.json
tsconfig-test.json
tsconfig.json fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
types.d.ts

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT