Skip to content

Commit

Permalink
fix: resolve mismatch with types declaration and docs for resourceQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
bolariin committed May 3, 2021
1 parent a73bcc5 commit 743b190
Show file tree
Hide file tree
Showing 5 changed files with 408 additions and 113 deletions.
6 changes: 3 additions & 3 deletions declarations/WebpackOptions.d.ts
Expand Up @@ -244,15 +244,15 @@ export type RuleSetCondition =
/**
* Logical AND.
*/
and?: RuleSetConditions;
and?: RuleSetCondition;
/**
* Logical NOT.
*/
not?: RuleSetConditions;
not?: RuleSetCondition;
/**
* Logical OR.
*/
or?: RuleSetConditions;
or?: RuleSetCondition;
}
| ((value: string) => boolean)
| RuleSetConditions;
Expand Down
2 changes: 1 addition & 1 deletion schemas/WebpackOptions.check.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions schemas/WebpackOptions.json
Expand Up @@ -3380,23 +3380,23 @@
"description": "Logical AND.",
"oneOf": [
{
"$ref": "#/definitions/RuleSetConditions"
"$ref": "#/definitions/RuleSetCondition"
}
]
},
"not": {
"description": "Logical NOT.",
"oneOf": [
{
"$ref": "#/definitions/RuleSetConditions"
"$ref": "#/definitions/RuleSetCondition"
}
]
},
"or": {
"description": "Logical OR.",
"oneOf": [
{
"$ref": "#/definitions/RuleSetConditions"
"$ref": "#/definitions/RuleSetCondition"
}
]
}
Expand Down

0 comments on commit 743b190

Please sign in to comment.