Comments (4)
The issue is that I do t use Webstorm) very likely itβs somehow related to language service. Do you have some plugin for Angular?
But I can check in vscode though
from casl-examples.
WebStorm comes with Angular plugin bundled. I haven't installed anything that could interfere with typescript and or angular definitions.
I will check it with the latest WebStorm version to see if the problem still exists and get back to you
from casl-examples.
Yes I can confirm that the same error occurs on WebStorm 2021.1.1 (latest release). I am pretty sure this has something to do with the way the typescript definition for the pipe is being generated.
from casl-examples.
Same here with WebStorm 2021.2.2.
I tried to understand the type of the pipe transform args but I never saw this syntax :
transform(...args: Parameters<T['can']>): boolean;
Does it means it is parameters of the generic type T which contains a property called can ?
from casl-examples.
Related Issues (14)
- question about role control HOT 2
- Manage abilities already built on backend HOT 1
- Getting `Cannot GET /session` when trying to log into the react blog HOT 2
- Svelte example HOT 2
- Prisma / nestjs example HOT 3
- Restricting fields access not working?
- Ability deprecated HOT 3
- Hello. your package is a good idea but it's difficult to implement. you don't have a practical example with VUE 3 anywhere
- π Add Next.js 13 Example to CASL Documentation HOT 2
- How to handle advanced rules with json?
- Typescript Issue. HOT 7
- Move all examples here
- Courses
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casl-examples.