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 353efd2 commit 2b1c2cdCopy full SHA for 2b1c2cd
src/compose.ts
@@ -678,15 +678,13 @@ export const composeHandler = ({
678
}
679
680
if (hasQuery) {
681
- const destructured = <
682
- {
683
- key: string
684
- isArray: boolean
685
- isNestedObjectArray: boolean
686
- isObject: boolean
687
- anyOf: boolean
688
- }[]
689
- >[]
+ const destructured = [] as {
+ key: string
+ isArray: boolean
+ isNestedObjectArray: boolean
+ isObject: boolean
+ anyOf: boolean
+ }[]
690
691
// @ts-ignore
692
if (validator.query && validator.query.schema.type === 'object') {
0 commit comments