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

Run tsc on __tests__ and fixes some TS type defs #1847

Merged
merged 1 commit into from Jul 8, 2021
Merged

Conversation

leebyron
Copy link
Collaborator

@leebyron leebyron commented Jul 8, 2021

Also fixes some minor test issues which previously assumed a very old Node environment.

Adds:

  • ArrayLike<T> as option to type factory functions
  • fromJS returns Collection<unknown> instead of just unknown - this is true the vast majority of the time even though it is not sound. Further improvements to the type defs for fromJS are possible, but this makes it far more helpful at the expense of slightly less soundness.

Also fixes some minor test issues which previously assumed a very old Node environment
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

1 participant