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
The package.json file specifies that Typescript types can be found at dist/index.d.ts as specified here:
package.json
dist/index.d.ts
https://github.com/SkeLLLa/fast-rbac/blob/master/package.json#L27
However, in the published NPM package there is no such file.
I was able to get the import working in a Typescript file (destined to a Cloudflare Worker) by specifying the following import:
import
import RBAC from 'fast-rbac/dist/browser'
It would be helpful, if this is the intended import method, if this was documented. package.json should also reflect this as needed.
The text was updated successfully, but these errors were encountered:
Thanks. There were missing line in ts config. Should be fixed in 2.0.1.
Sorry, something went wrong.
No branches or pull requests
The
package.json
file specifies that Typescript types can be found atdist/index.d.ts
as specified here:https://github.com/SkeLLLa/fast-rbac/blob/master/package.json#L27
However, in the published NPM package there is no such file.
I was able to get the import working in a Typescript file (destined to a Cloudflare Worker) by specifying the following
import
:It would be helpful, if this is the intended import method, if this was documented.
package.json
should also reflect this as needed.The text was updated successfully, but these errors were encountered: