Open maasencioh opened 2 years ago
After latest update I have new error type on the queries. What should be the new way for adding the types for a query object? I'm doing this
type NotReadOnly<T> = { -readonly [P in keyof T]: T[P]; }; let query: Filter<NotReadOnly<ModelAttributes<Sample>>> = {};
But I get errors on types like $regex, $or, and basically all other operators
@targos @stropitek ?
Please provide more information about your problem
After latest update I have new error type on the queries. What should be the new way for adding the types for a query object? I'm doing this
But I get errors on types like $regex, $or, and basically all other operators