I believe this might be a bug.
When trying to do the following code...
const filters = await client.getAllByType("branch_service_tag", {
predicates: [prismic.predicate.at("my.branch_service_tag.is_filter", true)]
});
... using a Typescript project, I get an error that the predicate function only allows a string or number. If I try using "true" or 1 in place of the true in order to be compliant then I get a hard error that the field is expecting a boolean. If I put in a boolean true it works but Typescript marks it as an error.
Is there maybe a way I'm SUPPOSED to be querying for bools or is this just an error in the prismic implementation.