angular/packages/compiler-cli
George Kalpakas 12e3db8d6f fix(ngcc): handle imports in dts files when processing CommonJS (#35191)
When statically evaluating CommonJS 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 CommonJS file).

Previously, the CommonJS reflection host would always try to use a
CommonJS 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 CommonJS reflection host will check to see if the file
containing the identifier is a typings file and use the appropriate
stategy.

(Note: This is the equivalent of #34356 but for CommonJS.)

PR Close #35191
2020-02-21 09:06:47 -08:00
..
integrationtest feat(ngcc): automatically clean outdated ngcc artifacts (#35079) 2020-01-31 17:02:45 -08:00
ngcc fix(ngcc): handle imports in dts files when processing CommonJS (#35191) 2020-02-21 09:06:47 -08:00
src fix(compiler): use FatalDiagnosticError to generate better error messages (#35244) 2020-02-20 11:25:24 -08:00
test fix(ivy): incorrectly generating shared pure function between null and object literal (#35481) 2020-02-20 15:23:59 -08:00
BUILD.bazel build: remove dependency on @types/chokidar (#35371) 2020-02-19 12:49:53 -08:00
index.ts refactor(compiler-cli): Move diagnostics files to language service (#33809) 2019-11-14 09:29:07 -08:00
package.json feat(ngcc): automatically clean outdated ngcc artifacts (#35079) 2020-01-31 17:02:45 -08:00
tsconfig-build.json build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
tsconfig.json perf(ivy): ngcc - only find dependencies when targeting a single entry-point (#30525) 2019-07-09 09:40:46 -07:00