Query from resultSet.query() have queryType property, but isnt defined in Query type interface
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Describe the bug**
one of the property returned from resultSet.query() is queryType
but in Query type interface, it doesnt have queryType
Typescript will have this error : "Property 'queryType' does not exist on type 'Query'
**To Reproduce**
Steps to reproduce the behavior:
1. create a queryBuilder component
2. in the render props of the queryBuilder, include resultSet as parameter
3. console.log resultSet.query(), returning object will have queryType property
4. but trying to access resultSet.query().queryType will result in typescript warning "Property 'queryType' does not exist on type 'Query'" in VSCode
**Expected behavior**
queryProperty is defined in the Query interface type definition. Or resultSet.query() shouldnt have queryType property.
**Screenshots**
Contributor guide
Assessment
This issue has not been assessed yet.