QueryBuilder.add(BoolQueryBuilder) is undefined for the type

Please format your code using </> icon as explained in this guide. It will make your post more readable.

Or use markdown style like:

```
CODE
```

Don't use citation icon but code icon if you are not using the markdown style. Thanks.