96d6b79ada29d28bed7d139115957b9812ce5961

Previously, if ngtsc encountered a VariableDeclaration without an initializer, it would assume that the variable was undefined, and return that result. However, for symbols exported from external modules that resolve to .d.ts files, variable declarations are of the form: export declare let varName: Type; This form also lacks an initializer, but indicates the presence of an importable symbol which can be referenced. This commit changes the static resolver to understand variable declarations with the 'declare' keyword and to generate references when it encounters them. PR Close #25775
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
86.3%
JavaScript
8.5%
HTML
1.8%
Starlark
1.7%
CSS
1%
Other
0.6%