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

update metadata type from any to unknown #367

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

janpaepke
Copy link
Collaborator

The general direction for ts is to use unknown over any here to force better type validation.

Also see:
microsoft/TypeScript#41016

@Pimm
Copy link
Collaborator

Pimm commented Sep 10, 2024

This is a breaking change. I'll be sure to add to the migration guide that you can as any to opt-into type errors.

@janpaepke janpaepke merged commit 2efb629 into mollie:master Sep 10, 2024
5 checks passed
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