mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Since i18n messages are mapped to `$localize` tagged template strings, the "raw" version must be properly escaped. Otherwise TS will throw an error such as: ``` Error: Debug Failure. False expression: Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'. ``` This commit ensures that we properly escape these raw strings before creating TS AST nodes from them. PR Close #33820 |
||
|---|---|---|
| .. | ||
| abstract_emitter.ts | ||
| abstract_js_emitter.ts | ||
| js_emitter.ts | ||
| map_util.ts | ||
| output_ast.ts | ||
| output_interpreter.ts | ||
| output_jit.ts | ||
| source_map.ts | ||
| ts_emitter.ts | ||
| value_util.ts | ||