We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v.5.0.3
var RBAC = require('rbac');
return
{ __esModule: true, RBAC: [Function: RBAC], Base: [Function: Base], Role: [Function: Role], Permission: [Function: Permission], Storage: [Function: Storage], Memory: [Function: Memory] }
in doc you wrote var RBAC = require('rbac').default
var RBAC = require('rbac').default
Where is default key? var RBAC = require('rbac').default return undefined and bellow RBAC is not a constructor
RBAC is not a constructor
The text was updated successfully, but these errors were encountered:
+1. Solution is to use the following:
const {RBAC} = require('rbac');
Sorry, something went wrong.
No branches or pull requests
v.5.0.3
var RBAC = require('rbac');
return
in doc you wrote
var RBAC = require('rbac').default
Where is default key?
var RBAC = require('rbac').default
return undefined and bellow
RBAC is not a constructor
The text was updated successfully, but these errors were encountered: