Skip to content
New issue

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

feat: Adding type definition #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrei-yanovich
Copy link

No description provided.

allow(roles: string[]): AsContext;
}

interface AsContext {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not AsScope?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, AsScope might be better if we rename all of *Context interfaces into *Scope.
Will be ForScope, AllowScope, AsScope. Looks good to me. Is this what you meant?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um. Not sure. Let's speak in person briefly....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants