stalniy / casl

CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
https://casl.js.org/
MIT License
5.92k stars 267 forks source link

[Documentation] Code examples use deprecated Ability #897

Open douglasg14b opened 6 months ago

douglasg14b commented 6 months ago

Is your feature request related to a problem? Please describe. Docs may be out of date

I'm trying to figure out how to define strongly typed abilities, and the Ability type used here is marked as deprecated.

Describe the solution you'd like Docs updated

Describe alternatives you've considered (optional) N/A

https://casl.js.org/v6/en/advanced/typescript

casl-abilitybuilder