Skip to content

Commit c1c8b7d

Browse files
committed
chore: remove unnecessary non-null assertion
1 parent be3de37 commit c1c8b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apidom-ns-openapi-3-1/src/refractor/plugins/normalize-discriminator-mapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const plugin =
120120
? schemaElement.anyOf
121121
: (allOfMapping.value as ArrayElement);
122122

123-
items!.forEach((item) => {
123+
items.forEach((item) => {
124124
if (!isSchemaElement(item)) {
125125
return;
126126
}

0 commit comments

Comments
 (0)