-
Notifications
You must be signed in to change notification settings - Fork 1
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 tsd #359
Update tsd #359
Conversation
As mentioned #340 (comment), I'm not sure if these changes are correct since I'm not familiar with typescript. |
expectType<Event<string, number>>(logItem({type: 'value', value: 'hello'}, false)) | ||
expectType<Event<string, string>>(logItem({type: 'value', value: 'hello'}, false)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this fail? I think this is intended to communicate that the Error type can be anything. Which maybe implies it should be unknown
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it fails. You can see the failures on the PR created by dependabot.
I could change it to unknown if that's the correct fix, I really don't know. It seems odd that tests were passing before.
Needs a rebase. |
@mAAdhaTTah I've rebased and updated tsd to latest (0.19), it was previous on 0.18. |
No description provided.