Under View Engine's default (non-fullTemplateTypeCheck) checking, object and array literals which appear in templates are treated as having type `any`. This allows a number of patterns which would not otherwise compile, such as indexing an object literal by a string: ```html {{ {'a': 1, 'b': 2}[value] }} ``` (where `value` is `string`) Ivy, meanwhile, has always inferred strong types for object literals, even in its compatibility mode. This commit fixes the bug, and adds the `strictLiteralTypes` flag to specifically control this inference. When the flag is `false` (in compatibility mode), object and array literals receive the `any` type. PR Close #35462
build: migrate references and scripts that set to build with ivy via compile=aot to use config=ivy (#33983)
refactor: simplify bazel saucelabs targets using karma pre-test wrapper and shared saucelabs connection between tests (#34769)
refactor: simplify bazel saucelabs targets using karma pre-test wrapper and shared saucelabs connection between tests (#34769)
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%