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

fix: relax ContextMap value constraint #61

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

onlyann
Copy link
Contributor

@onlyann onlyann commented Oct 16, 2024

Description

This changes the ContextMap value to be of type unknown instead of restricted to string.

It makes it possible to set non string values without TypeScript complaining.

Fixes #60

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Extra unit test added.

@carbonrobot carbonrobot merged commit c05f48d into FormidableLabs:master Oct 23, 2024
2 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 23, 2024
### [4.4.1](v4.4.0...v4.4.1) (2024-10-23)

### Bug Fixes

* relax ContextMap value constraint ([#61](#61)) ([c05f48d](c05f48d))
Copy link

🎉 This PR is included in version 4.4.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Loosen value type of the ContextMap
2 participants