
Factory functions written by the compiler optionally allow an explicit type to be passed. If called with this type, an instance of the given type will be created instead of the type for which the factory was generated. This is used to power inheritance of Angular types, as if the constructor of a class is inherited from its superclass, then the factory function of the superclass must be used (it has all the DI info) to construct an instance of the derived class. This commit adjusts typings in a few places to allow factory functions to be called with this extra type parameter. PR Close #30855
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)
build: set symlink_node_modules = False for yarn_install in main WORKSPACE and bazel schematics (#30627)
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%