angular-docs-cn/packages/language-service
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
..
bundles fix(language-service): Return empty external files during project initialization (#32519) 2019-09-09 12:22:19 -04:00
src feat(compiler): record absolute span of template expressions in parser (#31897) 2019-10-14 20:14:16 +00:00
test fix(compiler-cli): resolve type of exported *ngIf variable. (#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
index.ts build: roll up to named .js files rather than 'index.js' (#19190) 2017-09-19 16:59:18 -07:00
language-service.ts build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
package.json fix(language-service): Use index.d.ts for typings (#33043) 2019-10-10 13:58:57 -07:00