-
-
Notifications
You must be signed in to change notification settings - Fork 20
Typed to Arguments #44
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Given the following example:
It'd be great if the the argument for
towould 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.