angular-cn/packages/compiler-cli/ngcc/test/host
Pete Bacon Darwin c77656e2dd fix(ngcc): handle imports in dts files when processing UMD (#34356)
When statically evalulating UMD code it is possible to find
that we are looking for the declaration of an identifier that
actually came from a typings file (rather than a UMD file).

Previously, the UMD reflection host would always try to use
a UMD specific algorithm for finding identifier declarations,
but when the id is actually in a typings file this resulted in the
returned declaration being the containing file of the declaration
rather than the declaration itself.

Now the UMD reflection host will check to see if the file containing
the identifier is a typings file and use the appropriate stategy.

PR Close #34356
2019-12-11 13:20:49 -08:00
..
commonjs_host_import_helper_spec.ts fix(ngcc): correctly associate decorators with aliased classes (#33878) 2019-11-18 09:10:35 -08:00
commonjs_host_spec.ts fix(ngcc): support minified ES5 scenarios (#33777) 2019-11-13 11:11:48 -08:00
esm5_host_import_helper_spec.ts fix(ngcc): correctly associate decorators with aliased classes (#33878) 2019-11-18 09:10:35 -08:00
esm5_host_spec.ts fix(ngcc): support minified ES5 scenarios (#33777) 2019-11-13 11:11:48 -08:00
esm2015_host_import_helper_spec.ts test(ngcc): avoid using spy in `Esm2015ReflectionHost` test (#33878) 2019-11-18 09:10:35 -08:00
esm2015_host_spec.ts fix(ngcc): properly detect origin of constructor param types (#33901) 2019-11-19 11:38:33 -08:00
umd_host_import_helper_spec.ts fix(ngcc): correctly associate decorators with aliased classes (#33878) 2019-11-18 09:10:35 -08:00
umd_host_spec.ts fix(ngcc): handle imports in dts files when processing UMD (#34356) 2019-12-11 13:20:49 -08:00
util.ts fix(ngcc): properly detect origin of constructor param types (#33901) 2019-11-19 11:38:33 -08:00