-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
The package.json file specifies that Typescript types can be found at dist/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:
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.
Metadata
Metadata
Assignees
Labels
No labels