Angular: Support computed optional member expression (#14658)
This commit is contained in:
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]
|
||||
]
|
||||
Reference in new issue
Block a user