import Query from '../Query'

export type Constraint = (query: Query) => boolean

export default Constraint

import Query from '../Query'

export type Constraint = (query: Query) => boolean | void

export default Constraint

Change return type of has constraint to not expect a boolean
Change return type of has constraint to not expect a boolean

