diff --git a/changelog_unreleased/angular/14216.md b/changelog_unreleased/angular/14216.md
new file mode 100644
index 000000000..fff81e928
--- /dev/null
+++ b/changelog_unreleased/angular/14216.md
@@ -0,0 +1,13 @@
+#### Fix parentheses with nullish coalescing operator (#14216 by @thron0)
+
+
+```html
+
+
+
+
+
+
+
+
+```
diff --git a/package.json b/package.json
index 70290f04e..0aff33728 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
"@typescript-eslint/visitor-keys": "5.48.2",
"acorn": "8.8.1",
"acorn-jsx": "5.3.2",
- "angular-estree-parser": "5.0.1",
+ "angular-estree-parser": "5.0.2",
"angular-html-parser": "3.0.0",
"camelcase": "7.0.1",
"chalk": "5.2.0",
diff --git a/tests/format/angular/interpolation/__snapshots__/jsfmt.spec.js.snap b/tests/format/angular/interpolation/__snapshots__/jsfmt.spec.js.snap
index cca4d4437..c173512de 100644
--- a/tests/format/angular/interpolation/__snapshots__/jsfmt.spec.js.snap
+++ b/tests/format/angular/interpolation/__snapshots__/jsfmt.spec.js.snap
@@ -8,7 +8,8 @@ trailingComma: "none"
| printWidth
=====================================input======================================
[
- advancedSearchService.patientInformationFieldsRow2 && advancedSearchService.patientInformationFieldsRow2.indexOf(advancedSearchService.formElementData.customFieldList[i].customFieldType) !== -1
+ advancedSearchService.patientInformationFieldsRow2 && advancedSearchService.patientInformationFieldsRow2.indexOf(advancedSearchService.formElementData.customFieldList[i].customFieldType) !== -1,
+ (x && y) ?? z
]
=====================================output=====================================
@@ -16,7 +17,8 @@ trailingComma: "none"
advancedSearchService.patientInformationFieldsRow2 &&
advancedSearchService.patientInformationFieldsRow2.indexOf(
advancedSearchService.formElementData.customFieldList[i].customFieldType
- ) !== -1
+ ) !== -1,
+ (x && y) ?? z
]
================================================================================
`;
diff --git a/tests/format/angular/interpolation/logical-expression.ng b/tests/format/angular/interpolation/logical-expression.ng
index fc56a8e99..b079c1105 100644
--- a/tests/format/angular/interpolation/logical-expression.ng
+++ b/tests/format/angular/interpolation/logical-expression.ng
@@ -1,3 +1,4 @@
[
- advancedSearchService.patientInformationFieldsRow2 && advancedSearchService.patientInformationFieldsRow2.indexOf(advancedSearchService.formElementData.customFieldList[i].customFieldType) !== -1
+ advancedSearchService.patientInformationFieldsRow2 && advancedSearchService.patientInformationFieldsRow2.indexOf(advancedSearchService.formElementData.customFieldList[i].customFieldType) !== -1,
+ (x && y) ?? z
]
diff --git a/yarn.lock b/yarn.lock
index 4c2684302..19be0ff8c 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1911,15 +1911,15 @@ __metadata:
languageName: node
linkType: hard
-"angular-estree-parser@npm:5.0.1":
- version: 5.0.1
- resolution: "angular-estree-parser@npm:5.0.1"
+"angular-estree-parser@npm:5.0.2":
+ version: 5.0.2
+ resolution: "angular-estree-parser@npm:5.0.2"
dependencies:
lines-and-columns: ^2.0.3
tslib: ^2.4.1
peerDependencies:
"@angular/compiler": ^15.0.0
- checksum: 842758d830b283c01e09a6a2db3e7c78d19c8fca3e717af48b00b51bd6286778028b4e2630754fa92504fd1dff12fb71cebed9b24abf9d0887206657b07fe7b3
+ checksum: 79d70ebe2e2fa08d2cafcb9f12e100af024b1bc53841778b4f246f11f1ab1ef3a93a214d6538b715d0f2289d8666bc0cb5e50ba78580ca974880d64a2e6e9351
languageName: node
linkType: hard
@@ -6742,7 +6742,7 @@ __metadata:
"@typescript-eslint/visitor-keys": 5.48.2
acorn: 8.8.1
acorn-jsx: 5.3.2
- angular-estree-parser: 5.0.1
+ angular-estree-parser: 5.0.2
angular-html-parser: 3.0.0
benchmark: 2.1.4
browserslist-to-esbuild: 1.2.0