AlexKhymenko / ngx-permissions

Permission and roles based access control for your angular(angular 2,4,5,6,7,9+) applications(AOT, lazy modules compatible
MIT License
936 stars 126 forks source link

`getPermission` returns an incomplete type #202

Closed framasev closed 1 year ago

framasev commented 2 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[✓] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

getPermission method return type is NgxPermission.

Expected behavior

getPermission method return type is NgxPermission | undefined;

AlexKhymenko commented 2 years ago

@framasev Thank You it makes sense. Will fix when possible

AlexKhymenko commented 1 year ago

Fixed on the latest release by the great person @jkubiszewski