Please sign in to comment.
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
- Loading branch information
Showing with 39 additions and 1 deletion.