Skip to content

Commit e8dfd73

Browse files
Fix wrong array of union type (#822)
## Usage and product changes Fix wrong array of union type in legacy types.
1 parent 23e11ab commit e8dfd73

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/modules/ROOT/partials/http-ts/analyze/QueryConjunctionLegacy.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[options="header"]
99
|===
1010
|Name |Type |Description
11-
a| `constraints` a| `ConstraintExpressionLegacy` a|
11+
a| `constraints` a| `ConstraintAny` a|
1212
|===
1313
// end::properties[]
1414

http-ts/src/legacy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface ConceptRowsQueryResponseLegacy {
3737
}
3838

3939
export interface QueryConjunctionLegacy {
40-
constraints: ConstraintAny[] | ConstraintExpressionLegacy | ConstraintLinksLegacy
40+
constraints: (ConstraintAny | ConstraintExpressionLegacy | ConstraintLinksLegacy)[]
4141
}
4242

4343
export interface QueryStructureLegacy {

0 commit comments

Comments
 (0)