angular-docs-cn/packages/compiler-cli/test/diagnostics
Andrius 39587ad127 fix(compiler-cli): resolve type of exported *ngIf variable. (#33016)
Currently, method `getVarDeclarations()` does not try to resolve the type of
exported variable from *ngIf directive. It always returns `any` type.
By resolving the real type of exported variable, it is now possible to use this
type information in language service and provide completions, go to definition
and quick info functionality in expressions that use exported variable.
Also language service will provide more accurate diagnostic errors during
development.

PR Close #33016
2019-10-14 20:24:43 +00:00
..
BUILD.bazel build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
check_types_spec.ts build: TypeScript 3.5 upgrade (#31615) 2019-07-25 17:05:23 -07:00
expression_diagnostics_spec.ts fix(compiler-cli): resolve type of exported *ngIf variable. (#33016) 2019-10-14 20:24:43 +00:00
mocks.ts refactor(ivy): implement a virtual file-system layer in ngtsc + ngcc (#30921) 2019-06-25 16:25:24 -07:00
typescript_symbols_spec.ts fix(language-service): Remove 'context' used for module resolution (#32015) 2019-08-13 11:19:18 -07:00
typescript_version_spec.ts fix(compiler-cli): use numeric comparison for TypeScript version (#22705) 2018-03-30 07:58:36 -07:00