elasticsearch-js
elasticsearch-js copied to clipboard
Fix type: `function_score` can also be `QueryDslFunctionScoreContainer`
trafficstars
This PR changes the function_score type in the QueryDslQueryContainer interface from
interface QueryDslQueryContainer {
function_score?: QueryDslFunctionScoreQuery
}
to
interface QueryDslQueryContainer {
function_score?: QueryDslFunctionScoreQuery | QueryDslFunctionScoreContainer
}
I'm not sure if any additional files need to be changed or code needs to be auto-generated? Would appreciate your help, thanks!
Fixes #1744
Update: Signed the contributor agreement.
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?
💚 CLA has been signed