angular-docs-cn/packages
Andrew Scott 459af57a31 refactor(compiler-cli): Adjust generated TCB when checkTypeOfPipes is false (#40523)
When `checkTypeOfPipes` is set to `false`, our TCB currently generates
the a statement like the following when pipes appear in the template:
`(_pipe1 as any).transform(args)`

This did enable us to get _some_ information from the Language Service
about pipes in this case because we still had access to the pipe
instance. However, because it is immediately cast to `any`, we cannot
get type information about the transform access. That means actions like "go to
definition", "find references", "quick info", etc. will return
incomplete information or fail altogether.

Instead, this commit changes the TCB to generate `(_pipe1.transform as any)(args)`.
This gives us the ability to get complete information for the LS
operations listed above.

PR Close #40523
2021-05-06 17:54:14 -04:00
..
animations fix(animations): ensure consistent transition namespace ordering (#19854) 2021-04-30 14:15:47 -07:00
bazel fix(bazel): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
benchpress fix(dev-infra): update type castings for JSON.parse usage (#40710) 2021-02-09 10:48:43 -08:00
common refactor(common): change missing NgSwitch provider error message (#41704) 2021-05-06 15:44:38 -04:00
compiler refactor(compiler): stricter types for HTML AST (#41360) 2021-05-06 17:34:52 -04:00
compiler-cli refactor(compiler-cli): Adjust generated TCB when checkTypeOfPipes is false (#40523) 2021-05-06 17:54:14 -04:00
core refactor(common): change missing NgSwitch provider error message (#41704) 2021-05-06 15:44:38 -04:00
docs
elements fix(elements): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
examples refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
forms fix(forms): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
language-service refactor(compiler-cli): Adjust generated TCB when checkTypeOfPipes is false (#40523) 2021-05-06 17:54:14 -04:00
localize fix(localize): relax error to warning for missing target (#41944) 2021-05-04 21:05:54 -07:00
misc/angular-in-memory-web-api build: remove `core-js` in favor of `core-js-bundle` (#41739) 2021-04-26 09:29:58 -07:00
platform-browser perf(core): minor improvements to listener instructions (#41807) 2021-04-30 14:14:00 -07:00
platform-browser-dynamic fix(platform-browser-dynamic): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
platform-server perf(core): minor improvements to listener instructions (#41807) 2021-04-30 14:14:00 -07:00
private/testing build: update .bazelversion (#40579) 2021-01-26 11:35:54 -08:00
router fix(router): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
service-worker fix(service-worker): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
upgrade fix(upgrade): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:13 -07:00
zone.js build: lock file maintenance (#41924) 2021-05-03 14:27:06 -07:00
BUILD.bazel build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -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 docs: update year (#40925) 2021-02-22 12:37:40 -08:00
system.d.ts
tsconfig-build-no-strict.json
tsconfig-build.json
tsconfig-test.json
tsconfig.json build: exclude compiler compliance tests from Saucelabs tests (#41866) 2021-04-30 14:15:10 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07:00

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