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 94c63cc commit f7359c0Copy full SHA for f7359c0
src/compose.ts
@@ -643,15 +643,13 @@ export const composeHandler = ({
643
}
644
645
if (hasQuery) {
646
- const destructured = <
647
- {
648
- key: string
649
- isArray: boolean
650
- isNestedObjectArray: boolean
651
- isObject: boolean
652
- anyOf: boolean
653
- }[]
654
- >[]
+ const destructured = [] as {
+ key: string
+ isArray: boolean
+ isNestedObjectArray: boolean
+ isObject: boolean
+ anyOf: boolean
+ }[]
655
656
// @ts-ignore
657
if (validator.query && validator.query.schema.type === 'object') {
0 commit comments