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

add TS generic support for usePermissions hook #6329

Merged
merged 3 commits into from
Jun 11, 2021
Merged

add TS generic support for usePermissions hook #6329

merged 3 commits into from
Jun 11, 2021

Conversation

andrei9669
Copy link
Contributor

there are probably other hooks as well that could use this modification but this is the one that bugs me the most in my project.
I would have made the default value "unknown", to make it more strict, but that would have probably broken a lot of code.

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

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

Thanks!

.gitignore Outdated
@@ -13,3 +13,4 @@ examples/**/static
examples/**/dist
cypress/videos
cypress/screenshots
.idea
Copy link
Contributor

Choose a reason for hiding this comment

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

Please revert this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have read in some older PRs that this should be in user gitignore, but why is that so? Shouldn't the repository be responsible for what is ignored and what isn't?

Copy link
Contributor

Choose a reason for hiding this comment

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

You can have a root .gitignore in your home directory for things specific to your tools.

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

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

Thanks!

@fzaninotto fzaninotto merged commit be3c2d8 into marmelab:master Jun 11, 2021
@fzaninotto
Copy link
Member

Thanks!

@fzaninotto fzaninotto added this to the 3.16.1 milestone Jun 11, 2021
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.

None yet

3 participants