$sort pipeline with Typescript: Type 'number' is not assignable to type '1 | -1 | { $meta: "textScore"; }' #11153
Answered
by
matvienkont
raj-kumar94
asked this question in
Q&A
-
Hi, I'm trying to sort using aggregation pipeline
but getting the following error
Sorry if this is a newbie question. It was working fine earlier. I'm using version Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
matvienkont
Feb 4, 2022
Replies: 1 comment 1 reply
-
Possible workaround: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
raj-kumar94
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Possible workaround:
#11169 (comment)