We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ab72e8 commit ec290b6Copy full SHA for ec290b6
src/compose.ts
@@ -626,15 +626,13 @@ export const composeHandler = ({
626
}
627
628
if (hasQuery) {
629
- const destructured = <
630
- {
631
- key: string
632
- isArray: boolean
633
- isNestedObjectArray: boolean
634
- isObject: boolean
635
- anyOf: boolean
636
- }[]
637
- >[]
+ const destructured = [] as {
+ key: string
+ isArray: boolean
+ isNestedObjectArray: boolean
+ isObject: boolean
+ anyOf: boolean
+ }[]
638
639
// @ts-ignore
640
if (validator.query && validator.query.schema.type === 'object') {
0 commit comments