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
I'm running into an issue with the orderBy statement on a query. Fairly certain this is a bug with the type definitions since the code works correctly and is cribbed from the examples. I've looked for an enum to no avail, but I don't think I should need it since the definition uses a Union type called OrderByDirection.
@tsiege Thanks for the bug report. This does appear to be an issue with the type definitions, but I'm not able to reproduce it on my end. Do you think you could put together a gist or repo with the code needed to reproduce it?
@danielrearden I was able to scope it down to an issue with my tsconfig. Having "esModuleInterop": true, causes the issue, which is surprising since your target output for sqlMancer is commonjs. I wonder if it might be an issue with typescript. I'm on TS version^3.9.5
Here's my tsconfig. If that's not enough I can share a dummy repo
I'm running into an issue with the
orderBy
statement on a query. Fairly certain this is a bug with the type definitions since the code works correctly and is cribbed from the examples. I've looked for an enum to no avail, but I don't think I should need it since the definition uses a Union type calledOrderByDirection
.The following code results in this error
The text was updated successfully, but these errors were encountered: