You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, please, describe, am I doing something wrong? I guess a lot of people use this repo, and a lot of them using raw, but nobody meets the same problem? 0_o
The text was updated successfully, but these errors were encountered:
DarkOutX
changed the title
find** methods with { raw: true } should has another typings?
find** methods with { raw: true } should has another types?
Jun 24, 2024
Hello. Maybe I don't undestand something, but if I will use ModelStatic methods find*** with options { raw: true }, I get type errors
Example:
item should has TModelAttributes type, however it has type Model and looks like it requires call item.get() to receive object
We can find used types is types/model.d.ts where the ReturnValue is fixed M extending Model
It works fine for me after adding overloads like this:
So, please, describe, am I doing something wrong? I guess a lot of people use this repo, and a lot of them using raw, but nobody meets the same problem? 0_o
The text was updated successfully, but these errors were encountered: