payload
payload copied to clipboard
[Website Template] getGlobal Utility does not type narrow
Description
By default when using this utility it will not automatically narrow to the type which you specified in the argument. This pull resolves this issue
Before:
After:
- [x] I have read and understand the CONTRIBUTING.md document in this repository.
Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] Change to the templates directory (does not affect core functionality)
Checklist:
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] Existing test suite passes locally with my changes
- [ ] I have made corresponding changes to the documentation
This PR is stale due to lack of activity.
To keep the PR open, please indicate that it is still relevant in a comment below.