Angular: Support computed optional member expression (#14658)

This commit is contained in:
fisker Cheung authored and GitHub committed 2023-04-07 09:53:59 +08:00
1 parent 20320a56e4
commit 02a50e5bb9
7 files changed
+184 -96

No files matched your search

@@ -1,5 +1,21 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`computed-optional-member-expression.ng - {"trailingComma":"none"} format 1`] = `
====================================options=====================================
parsers: ["__ng_interpolation"]
printWidth: 80
trailingComma: "none"
| printWidth
=====================================input======================================
[
a?.[0]
]
=====================================output=====================================
[a?.[0]]
================================================================================
`;
exports[`logical-expression.ng - {"trailingComma":"none"} format 1`] = `
====================================options=====================================
parsers: ["__ng_interpolation"]
@@ -0,0 +1,3 @@
[
a?.[0]
]