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
Describe the bug
I have an interface that uses the MongoQuery type in one of its properties.
It seems that adding this type causes TS-4058 errors. Return type of exported function has or is using name '$value' from external module "node_modules/@casl/ability/dist/types/hkt" but cannot be named.
Describe the bug
I have an interface that uses the
MongoQuery
type in one of its properties.It seems that adding this type causes TS-4058 errors.
Return type of exported function has or is using name '$value' from external module "node_modules/@casl/ability/dist/types/hkt" but cannot be named.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Using the type should not cause an error.
CASL Version
@casl/ability
- v5.4.3@casl/vue
- v2.1.2Environment:
Node.JS v16.14.0
TypeScript v4.6.3
The text was updated successfully, but these errors were encountered: