If a decorated class is not publicly exported via an entry-point then the previous approach to finding the associated typings file failed. Now we ensure that we extract all the class declarations from the dtsTypings program, even if they are not exported from the entry-point. This is achieved by also parsing statements of each source file, rather than just parsing classes that are exported from the entry-point. Because we now look at all the files, it is possible for there to be multiple class declarations with the same local name. In this case, only the first declaration with a given name is added to the map; subsequent classes are ignored. We are most interested in classes that are publicly exported from the entry-point, so these are added to the map first, to ensure that they are not ignored. PR Close #26906
Angular
Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
68.6%
HTML
12.8%
JavaScript
8.4%
Pug
7%
Starlark
1.4%
Other
1.7%