mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, the template type-checker would always construct a generic template context type with correct bounds, even when strictTemplates was disabled. This meant that type-checking of expressions involving that type was stricter than View Engine. This commit introduces a 'strictContextGenerics' flag which behaves similarly to other 'strictTemplates' flags, and switches the inference of generic type parameters on the component context based on the value of this flag. PR Close #34649 |
||
|---|---|---|
| .. | ||
| api.ts | ||
| compiler_host.ts | ||
| entry_points.ts | ||
| inline_resources.ts | ||
| lower_expressions.ts | ||
| metadata_cache.ts | ||
| metadata_reader.ts | ||
| nocollapse_hack.ts | ||
| node_emitter.ts | ||
| node_emitter_transform.ts | ||
| program.ts | ||
| r3_metadata_transform.ts | ||
| r3_strip_decorators.ts | ||
| r3_transform.ts | ||
| util.ts | ||