-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Given the following example:
new statement
.Iam()
.deny()
.to('DeletePolicy')
.to('DeletePolicyVersion')
.to('CreatePolicyVersion')
.to('SetDefaultPolicyVersion')
It'd be great if the the argument for to would be fully typed, so that the editor / IDE could auto-complete permissions. I think it's fairly striaghtforward for the full permission names, but rather complicated for wildcards (e.g. .to('Delete*') to still be considered valid for Typescript. Perhaps literal types could help with that.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request